current commit
260812.1 · build(deps): bump actions/setup-go from 6 to 7 (#81)
name: Test fastwalk on Linux
on:
  push:
    branches: [master]
  pull_request:
    branches: [master]
jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      # Test all supported versions on Linux (since it's fast)
      matrix:
        go: ['1.21', '1.22', '1.23', '1.24', '1.25']
    steps:
      - uses: actions/checkout@v7
        with:
          fetch-depth: 1
      - name: Set up Go
        uses: actions/setup-go@v7
        with:
          go-version: ${{ matrix.go }}
      - name: Test
        run: go test -coverprofile=coverage.txt -race ./...
      - name: Test Builds
        run: make test_build --jobs=4
      - name: Upload coverage reports to Codecov
        uses: codecov/codecov-action@v7
        with:
          token: ${{ secrets.CODECOV_TOKEN }}