Skip to content

Commit

Permalink
chore: add lint for tools
Browse files Browse the repository at this point in the history
  • Loading branch information
aftersnow committed Sep 26, 2024
1 parent f823ac7 commit 2872729
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/tools-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Lint

on:
push:
branches: [main, release-*]
pull_request:
branches: [main, release-*]

permissions:
contents: read

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332

- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version-file: tools/mdctl/go.mod
cache: false

- name: Golangci lint
uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86
with:
version: v1.54
args: --verbose
working-directory: tools/mdctl

0 comments on commit 2872729

Please sign in to comment.