Skip to content

chore(deps): update actions/setup-go action to v5.1.0 #133

chore(deps): update actions/setup-go action to v5.1.0

chore(deps): update actions/setup-go action to v5.1.0 #133

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
GOLANGCI_LINT_VERSION: "v1.61.0"
jobs:
build:
strategy:
matrix:
go-version: [ '1.17', '1.18', '1.19', '1.20', '1.21', '1.22', '1.23']
os: [ ubuntu-22.04, macos-12, windows-2022 ]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version: ${{ matrix.go-version }}
cache-dependency-path: |
**/go.sum
**/go.mod
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Enforce standard format
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
with:
version: ${{ env.GOLANGCI_LINT_VERSION }}
args: --timeout 3m --enable=gofmt --verbose
- name: Test
run: go test --cover -v ./...
- name: Build
run: go build -v ./...