Skip to content

Minor refactor of examples #421

Minor refactor of examples

Minor refactor of examples #421

Workflow file for this run

name: test
on:
push: { branches: [main] }
pull_request: { branches: [main] }
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.23.0-rc.2
cache: false
- run: make check
env: { SKIP_LINT: true }
# - uses: golangci/golangci-lint-action@v4
# with: { version: "latest" }
- run: make cov
env: { GOEXPERIMENT: rangefunc }
- uses: codecov/codecov-action@v4
env: { CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}" }
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.23.0-rc.2
cache: false
- run: make test