Skip to content

Commit

Permalink
chore: check if there is any dirty change for go mod tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandear committed Jan 29, 2025
1 parent 4bd6fba commit 9db26fe
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,19 @@ on:
types: [opened, edited, synchronize, reopened]

jobs:
go-mod:
name: Check go.mod
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: stable
- name: Check go mod
run: |
go mod tidy
git diff --exit-code go.mod
git diff --exit-code go.sum
lint:
name: Lint
Expand Down

0 comments on commit 9db26fe

Please sign in to comment.