Skip to content

Bump actions/setup-go from 5.4.0 to 6.4.0 #192

Bump actions/setup-go from 5.4.0 to 6.4.0

Bump actions/setup-go from 5.4.0 to 6.4.0 #192

Workflow file for this run

name: tests
on:
push:
branches:
- master
pull_request:
branches:
- master
concurrency:
group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}"
cancel-in-progress: true
jobs:
test:
strategy:
matrix:
go-version: [stable, oldstable, "1.13"]
platform: [ubuntu-latest]
include:
# only update test coverage stats with most recent go version on linux
- go-version: stable
platform: ubuntu-latest
update-coverage: true
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: ${{ matrix.go-version }}
- name: Run go test
run: go test -v -race -coverprofile coverage.txt -covermode atomic ./...
- name: Upload coverage to Codecov
if: ${{ matrix.update-coverage }}
uses: codecov/codecov-action@ad3126e916f78f00edff4ed0317cf185271ccc2d #v5.4.2