Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
s4kh authored Oct 15, 2024
1 parent 3cefb3b commit fe5a3f1
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,25 @@ env:
GOLANGCI_LINT_VERSION: v1.61.0

jobs:
lint:
name: Lint Go
setup:
name: Setup Go
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

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

lint:
name: Lint Go
needs: setup
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Run golangci-lint
uses: golangci/golangci-lint-action@v6
Expand All @@ -42,11 +50,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

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

- name: Setup Mage
uses: magefile/mage-action@v3
with:
Expand Down

0 comments on commit fe5a3f1

Please sign in to comment.