Skip to content

ci: update GitHub Actions configurations for Go projects #122

ci: update GitHub Actions configurations for Go projects

ci: update GitHub Actions configurations for Go projects #122

Workflow file for this run

name: Run CI Lint
on: push
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest]
go: ["1.20", 1.21, 1.22]
name: ${{ matrix.os }} @ Go ${{ matrix.go }}
runs-on: ${{ matrix.os }}
env:
GO111MODULE: on
TESTTAGS: ${{ matrix.test-tags }}
GOPROXY: https://proxy.golang.org
steps:
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Checkout Code
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: latest
args: --verbose --timeout 10m