Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

Commit

Permalink
fix setup Golangci
Browse files Browse the repository at this point in the history
Signed-off-by: Musilah <[email protected]>
  • Loading branch information
Musilah committed Nov 17, 2023
1 parent 59bff4a commit 4be496f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov
- name: Cache codecov
uses: actions/cache@v2
with:
Expand All @@ -35,7 +35,15 @@ jobs:
- name: Setup Golangci-lint
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.53.3
mv ./bin/golangci-lint $RUNNER_TOOL_CACHE/golangci-lint/latest/x64/golangci-lint
- name: Cache Golangci-lint
uses: actions/cache@v2
with:
path: ./bin/golangci-lint
key: ${{ runner.os }}-golangci-lint-${{ hashFiles('./bin/golangci-lint') }}
restore-keys: |
${{ runner.os }}-golangci-lint-
env:
CODECOV_TOKEN: ${{ secrets.CODECOV }}

Expand Down

0 comments on commit 4be496f

Please sign in to comment.