From b5024d681620b76328f2f9ba12be3c191b0741a9 Mon Sep 17 00:00:00 2001 From: Marc-Antoine Ruel Date: Sun, 12 Sep 2021 11:30:16 -0400 Subject: [PATCH] github actions: skip unnecessary checks No need to test 1.14.7, 1.13.15 is already sufficient. No need to test in GOPATH mode. --- .github/workflows/test.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f696292..c838834 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -210,18 +210,13 @@ jobs: --data "${PAYLOAD}" "${URL}" > /dev/null fi - # Run on older Go versions while inside GOPATH, which tests different parts - # of the code. go modules will be used on 1.13 and later but not before. test_short: - env: - GOPATH: ${{github.workspace}} - GO111MODULE: auto continue-on-error: true strategy: fail-fast: false matrix: os: [ubuntu-latest] - gover: ['1.13.15', '1.14.7'] + gover: ['1.13.15'] runs-on: "${{matrix.os}}" name: "go${{matrix.gover}} on ${{matrix.os}} (quick)" steps: @@ -229,11 +224,5 @@ jobs: with: go-version: "${{matrix.gover}}" - uses: actions/checkout@v2 - with: - path: src/periph.io/x/devices - - name: 'Check: go get -d -t' - working-directory: src/periph.io/x/devices - run: go get -d -t ./... - name: 'Check: go test' - working-directory: src/periph.io/x/devices run: go test -timeout=40s ./...