diff --git a/.github/workflows/go-test.yml b/.github/workflows/go-test.yml index 235ae88..fb86ac4 100644 --- a/.github/workflows/go-test.yml +++ b/.github/workflows/go-test.yml @@ -1,4 +1,4 @@ -name: Go +name: Go Test workflow on: [push] jobs: @@ -10,7 +10,8 @@ jobs: - name: Setup Go uses: actions/setup-go@v3 with: - go-version: '1.16.x' + go-version: [ '1.16.x', '1.17.x', '1.18.x', '1.19.x' ] + # - name: Install dependencies run: go get . - name: Build diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 015ee57..4d236fd 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -1,13 +1,12 @@ -name: Go - +name: Go Build +# on: push: branches: [ "main" ] pull_request: branches: [ "main" ] - +# jobs: - build: runs-on: ubuntu-latest steps: @@ -16,10 +15,8 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.18 - + go-version: [ '1.16.x', '1.17.x', '1.18.x', '1.19.x' ] + # - name: Build run: go build -v ./... - - #- name: Test - # run: go test -v ./... +# \ No newline at end of file