Skip to content

Commit

Permalink
try go mod
Browse files Browse the repository at this point in the history
  • Loading branch information
v-kamerdinerov committed Sep 4, 2024
1 parent 97898bb commit fcea543
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
- main
pull_request:

env:
GO_VERSION: 1.21

permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
Expand All @@ -18,7 +21,11 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: stable
go-version: ${{ env.GO_VERSION }}

- name: Run go mod tidy
run: go mod tidy

- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
Expand Down

0 comments on commit fcea543

Please sign in to comment.