fix: upgraded CI workflow, now it use golang v1.22 for test and build #41
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: CI | |
on: | |
push: | |
branches: | |
- '**' | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.22 | |
- name: Check | |
run: make check | |
- name: Lint | |
uses: golangci/golangci-lint-action@v4 | |
with: | |
version: v1.54 | |
- name: Test | |
run: make test |