Skip to content

Commit

Permalink
feat(SPV-1469): rm linter stage duplicate
Browse files Browse the repository at this point in the history
  • Loading branch information
dzolt-4chain committed Feb 4, 2025
1 parent d53e6b3 commit 2858e7a
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
env:
LINT_VERSION: "latest"

on:
push:
branches-ignore:
Expand All @@ -17,32 +14,3 @@ jobs:
secrets:
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
SLACK_WEBHOOK_URL: ${{ secrets.ON_PUSH_SLACK_WEBHOOK_URL }}

examples-error-lint:
name: "[examples] Lint for errors"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: ${{ env.LINT_VERSION }}
working-directory: "./examples"
args: --config=../.golangci-lint.yml
examples-style-lint:
name: "[examples] Lint for style lint errors"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: golangci-style-lint
uses: golangci/golangci-lint-action@v6
with:
version: ${{ env.LINT_VERSION }}
working-directory: "./examples"
args: --config=../.golangci-style.yml

0 comments on commit 2858e7a

Please sign in to comment.