feat: migrate mise #226
Workflow file for this run
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: lint_and_test | |
on: | |
push: | |
jobs: | |
golangci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: ^1.21 | |
- uses: actions/checkout@v4 | |
- uses: jdx/mise-action@v2 | |
- name: go mod tidy | |
run: go mod tidy | |
- name: make install go tools | |
run: make install-go-tools | |
- name: pre-commit install | |
run: pre-commit install | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: latest | |
- name: build | |
run: make build | |
- name: testing | |
run: make test |