Skip to content

chore(deps): Bump tj-actions/verify-changed-files from 17 to 18 (#15) #91

chore(deps): Bump tj-actions/verify-changed-files from 17 to 18 (#15)

chore(deps): Bump tj-actions/verify-changed-files from 17 to 18 (#15) #91

Workflow file for this run

name: lint
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- run: go install github.com/pointlander/peg@v1.0
- run: go generate
- uses: tj-actions/verify-changed-files@v18
id: verify-unchanged-grammar
with:
files: |
grammar.peg.go
- if: steps.verify-unchanged-grammar.outputs.files_changed == 'true'
run: echo "::error file=grammar.peg.go::Make sure you regenerate grammar.peg when making any changes" && exit 1
- uses: golangci/golangci-lint-action@v3