Skip to content

feat: interstitial handling improvements #102

feat: interstitial handling improvements

feat: interstitial handling improvements #102

Workflow file for this run

name: test
on:
push:
branches: [main] # pushes TO main
pull_request:
branches: [main] # pull requests AGAINST main
# cancel CI runs when a new commit is pushed to any branch except main
concurrency:
group: "test-${{ github.ref }}"
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
test:
name: test
runs-on: ubuntu-latest
strategy:
matrix:
# build against the two latest releases, to match golang's release
# policy: https://go.dev/doc/devel/release#policy
go-version:
- 'stable'
- 'oldstable'
steps:
- name: setup
uses: actions/setup-go@v5
with:
go-version: ${{matrix.go-version}}
- name: checkout
uses: actions/checkout@v4
- name: test
run: make testci
- name: report code coverage
uses: codecov/codecov-action@v3
with:
files: ./coverage.out
if: ${{ matrix.go-version == 'stable' }}