chore: update actions

This commit is contained in:
Kevin Franklin Kim 2025-09-19 16:38:23 +02:00
parent 652064484e
commit 4a6c85b524
No known key found for this signature in database
2 changed files with 16 additions and 20 deletions

View File

@ -17,13 +17,16 @@ jobs:
with:
fetch-depth: 0
- uses: actions/setup-go@v5
- uses: jdx/mise-action@v3
- uses: actions/setup-go@v6
with:
check-latest: true
go-version-file: go.mod
- uses: goreleaser/goreleaser-action@v6
with:
version: latest
version: '~> v2'
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -15,33 +15,26 @@ jobs:
name: test
runs-on: ubuntu-latest
steps:
- uses: jdx/mise-action@v3
- uses: actions/checkout@v5
- uses: actions/setup-go@v5
- uses: actions/setup-go@v6
with:
check-latest: true
go-version-file: go.mod
- uses: sourcemeta/jsonschema@v11.1.1
#- uses: gotesttools/gotestfmt-action@v2
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
- uses: golangci/golangci-lint-action@v8
with:
version: latest
install-mode: none
- name: Run tidy
run: make tidy && git diff --exit-code
- name: Run lint
run: make lint
- name: Run test
run: make test
- name: Generate schema
run: |
make schema
git diff
#git diff --exit-code
- uses: coverallsapp/github-action@v2
with:
file: coverage.out
run: make schema & git diff --exit-code