Skip to content

update github actions to newest versions #179

update github actions to newest versions

update github actions to newest versions #179

Workflow file for this run

name: Tests
on: [push]
jobs:
tests:
strategy:
matrix:
env:
- os: ubuntu-latest
coverage: true
- os: macos-latest
- os: windows-latest
continue-on-error: true
runs-on: ${{ matrix.env.os }}
steps:
- uses: actions/setup-go@v5
with:
go-version: "1.23"
- uses: actions/checkout@v4
- run: go vet ./...
- run: |
PREFIX="github.com/${GITHUB_REPOSITORY}"
go test -v \
${{ matrix.env.coverage && '-coverprofile=profile.cov' }} \
$(
go list ./... \
| grep -v "${PREFIX}/cmd" \
| grep -v "${PREFIX}/testvectors" \
| grep -v "${PREFIX}/pkg/cinodefs/protobuf" \
)
continue-on-error: ${{ matrix.env['continue-on-error'] }}
- uses: shogo82148/actions-goveralls@v1
if: ${{ matrix.env.coverage }}
with:
path-to-profile: profile.cov
- uses: codecov/codecov-action@v5
if: ${{ matrix.env.coverage }}
with:
files: profile.cov