Skip to content

Update Go version

Update Go version #196

Workflow file for this run

name: golangci-lint
on: [push]
permissions:
contents: read
jobs:
golangci:
name: lint
strategy:
matrix:
go-version: [1.21.x]
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout Code
uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.54.2
# Optional: if set to true then the action will use pre-installed Go.
skip-go-installation: true