diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b74f7ea..e062bc2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,13 +1,13 @@ on: push: - branches: [ main ] + branches: [ master ] pull_request: name: Test jobs: test: strategy: matrix: - go-version: [1.18.x] + go-version: [1.20.x,1.21.x] platform: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.platform }} steps: @@ -36,11 +36,11 @@ jobs: - name: Upload coverage if: success() && matrix.platform == 'ubuntu-latest' run: | - curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import # One-time step + curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import # One-time > curl -Os https://uploader.codecov.io/latest/linux/codecov curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig gpgv codecov.SHA256SUM.sig codecov.SHA256SUM shasum -a 256 -c codecov.SHA256SUM chmod +x codecov - ./codecov + ./codecov