feat: configurable event filter #740
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
paths-ignore: | |
- "LICENSE" | |
- "**.md" | |
- "examples/*" | |
- "templates/*" | |
jobs: | |
unit: | |
strategy: | |
matrix: | |
go-version: | |
- "1.23" | |
- "1.24" | |
os: | |
- macos | |
- ubuntu | |
- windows | |
fail-fast: false | |
name: Unit Tests (${{ matrix.os }}/go-${{ matrix.go-version }}) | |
runs-on: ${{ matrix.os }}-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Install dependencies | |
run: make get-deps | |
- name: Build docker-gen | |
run: make docker-gen | |
- name: Check code formatting | |
if: runner.os != 'Windows' | |
run: make check-gofmt | |
- name: Run tests | |
run: make test |