Skip to content

Update CI

Update CI #139

name: Static Analysis
on:
push:
paths:
- "go.sum"
- "go.mod"
- "**.go"
- ".github/workflows/static-analysis.yml"
- ".golangci.yml"
pull_request:
permissions:
contents: read
jobs:
build:
strategy:
matrix:
go-version:
- "1.22"
- "1.23"
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
with:
go-version: ${{ matrix.go-version }}
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Lint
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
with:
args: --verbose
version: v1.63.4