Merge pull request #96 from tri-adam/nil-matcher #266
This file contains 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: Test | |
on: | |
push: | |
branches: ['main'] | |
pull_request: | |
branches: ['main'] | |
jobs: | |
unit-test: | |
name: Unit Test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go-version: ['~1.22.0', '~1.23.0'] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- run: sudo apt-get install -qy squashfs-tools squashfs-tools-ng | |
- run: go test ./... | |
release-test: | |
name: Release Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '~1.23.0' | |
- uses: goreleaser/goreleaser-action@v6 | |
with: | |
args: release --snapshot --skip=publish |