Skip to content

Merge pull request #1 from authzed/dependabot/github_actions/actions-… #5

Merge pull request #1 from authzed/dependabot/github_actions/actions-…

Merge pull request #1 from authzed/dependabot/github_actions/actions-… #5

Workflow file for this run

---
name: "Lint"
on: # yamllint disable-line rule:truthy
push:
branches:
- "!dependabot/*"
- "main"
pull_request:
branches: ["*"]
env:
GO_VERSION: "~1.23.4"
jobs:
lint:
name: "Lint"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4"
- uses: "authzed/actions/setup-go@main"
with:
go-version: "${{ env.GO_VERSION }}"
- uses: "magefile/mage-action@v3"
with:
version: "latest"
args: "lint:all"
# golangci-lint is kept out of the module for now, since it needs to be
# run from root and would pollute the module's dependencies
- uses: "authzed/actions/golangci-lint@main"