build: use ratchet and mise

This commit is contained in:
Trong Huu Nguyen
2025-12-03 13:29:12 +01:00
parent ebccc55982
commit a1ec295e63
8 changed files with 96 additions and 32 deletions

View File

@@ -18,10 +18,9 @@ jobs:
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # ratchet:actions/setup-go@v6
with:
go-version-file: 'go.mod'
- name: Test Go
run: |
make test
make check
- uses: jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # ratchet:jdx/mise-action@v3
- run: mise run check
- run: mise run test
build:
needs: test
name: Publish to Google and GitHub registries