Skip to content

Commit

Permalink
chore: debug branch name and fix go version with one in go.mod
Browse files Browse the repository at this point in the history
  • Loading branch information
x1m3 committed Dec 3, 2024
1 parent b5571f8 commit 0ad4351
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,17 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Print branch
run: git branch --show-current
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: 1.21.0
go-version-file: go.mod
cache: true
- name: Checkout code
uses: actions/checkout@v3
- name: Clear golangci-lint cache
run: golangci-lint cache clean
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
runs-on: ubuntu-latest
container: golang:${{ matrix.containers }}
steps:
- name: Print branch
run: git branch --show-current
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/cache@v3
Expand Down

0 comments on commit 0ad4351

Please sign in to comment.