From df77aa5108cd0e3d1a732801174ba52fe4515b1b Mon Sep 17 00:00:00 2001 From: Mark Sanborn Date: Sun, 9 Jul 2023 21:42:31 -0700 Subject: [PATCH] go --- .github/workflows | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/.github/workflows b/.github/workflows index 23dc1df..10750c9 100644 --- a/.github/workflows +++ b/.github/workflows @@ -1,21 +1,28 @@ -name: go-selfupdate +# This workflow will build a golang project +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go -on: [push] +name: Go + +on: + push: + # branches: [ "master" ] + pull_request: + # branches: [ "master" ] jobs: - build: - runs-on: debian-latest + build: + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v3 - - name: Set up Go - uses: actions/setup-go@v4 - with: - go-version: '1.15' + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: 1.19 - - name: Build - run: go build -v ./... + - name: Build + run: go build -v ./... - - name: Test - run: go test -v ./... \ No newline at end of file + - name: Test + run: go test -v ./... \ No newline at end of file