Skip to content

Increase required Go version from 1.20 to 1.21 #23

Increase required Go version from 1.20 to 1.21

Increase required Go version from 1.20 to 1.21 #23

Workflow file for this run

---
name: 'Lint'
on:
push:
paths-ignore:
- '.editorconfig'
- '.gitignore'
- '.golangci.toml'
- '.builds/'
- 'LICENSE.md'
- 'README.md'
pull_request:
paths-ignore:
- '.editorconfig'
- '.gitignore'
- '.golangci.toml'
- '.builds/'
- 'LICENSE.md'
- 'README.md'
permissions:
contents: 'read'
jobs:
go:
name: 'Lint Go files'
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v3'
- name: 'Setup Go environment'
uses: 'actions/setup-go@v4'
with:
go-version: '>=1.21.6'
- name: 'Download project dependencies'
run: 'make init'
- name: 'Run govulncheck'
run: 'make vulnerabilities'
- name: 'Run golangci-lint'
run: 'make lint'