Skip to content

Commit

Permalink
chore: separate lint from test
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesmithgh committed Mar 21, 2024
1 parent e9f4191 commit 0992bbc
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 5 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/golangci_lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: golangci-lint
on:
pull_request:
workflow_dispatch:

jobs:
golangci:
name: golangci-lint
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true

- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: latest

5 changes: 0 additions & 5 deletions .github/workflows/test_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ jobs:
if: ${{ inputs.enable_debug_tmate }}
uses: mxschmitt/action-tmate@v3

- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: latest

- name: test
run: |
make test
Expand Down

0 comments on commit 0992bbc

Please sign in to comment.