Skip to content

chore(deps): Update golangci/golangci-lint-action action to v5 #97

chore(deps): Update golangci/golangci-lint-action action to v5

chore(deps): Update golangci/golangci-lint-action action to v5 #97

Workflow file for this run

---
name: Pull Requests
on:
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go: ['1.20', '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@v5.3.0
with:
version: latest
args: '--config=.golangci.yaml -v'