Merge pull request #27 from tri-adam/descriptor #69
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: Check | |
on: | |
push: | |
branches: ['main'] | |
pull_request: | |
branches: ['main'] | |
jobs: | |
check-go-mod: | |
name: Check Module Tidiness | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '1.21' | |
check-latest: true | |
- run: go mod tidy | |
- run: git diff --exit-code -- | |
check-test-corpus: | |
name: Check Test Corpus | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '1.21' | |
check-latest: true | |
- run: go run ./test/images/gen_images.go ./test/images | |
- run: git diff --exit-code -- | |
check-release-config: | |
name: Check Release Config | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '1.21' | |
check-latest: true | |
- uses: goreleaser/goreleaser-action@v5 | |
with: | |
args: check |