chore(deps): Update go deps #119
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: Pull Requests | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go: ["1.21", "1.22"] | |
name: Test on Go ${{ matrix.go }} | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go}} | |
check-latest: true | |
- name: Install just | |
uses: extractions/setup-just@v2 | |
- name: Test | |
run: just test | |
golangci: | |
name: Lint | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22.x | |
check-latest: true | |
cache: false | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v6.1.0 | |
with: | |
version: latest | |
args: "--config=.golangci.yaml -v" |