Skip to content

Bump golang from 1.21.3 to 1.21.5 #182

Bump golang from 1.21.3 to 1.21.5

Bump golang from 1.21.3 to 1.21.5 #182

Workflow file for this run

name: Lint
on:
pull_request:
push:
paths:
- '**.go'
- 'revive.toml'
- '.github/workflows/lint.yaml'
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Run Revive Action
uses: docker://morphy/revive-action:v2
with:
config: revive.toml
- name: Check formatting
run: test -z $(gofmt -l .) || (gofmt -l . && exit 1)