Skip to content

Commit

Permalink
ci: fix the LFS part
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Ege <[email protected]>
  • Loading branch information
graugans committed Dec 25, 2023
1 parent 35537fd commit ae7ff2c
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,17 @@ jobs:
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
- name: ⬇️ Checkout
uses: actions/checkout@v3
with:
lfs: 'true'
- name: 👷 Prepare the Go environment
uses: actions/setup-go@v4
with:
go-version: '1.21'
- run: git lfs pull
- run: go test -v -failfast -coverprofile cover.out -timeout=1m ./...
- name: Upload coverage reports to Codecov
- name: 🧪 Run the unit tests
run: go test -v -failfast -coverprofile cover.out -timeout=1m ./...
- name: 🚀 Upload the coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
Expand Down

0 comments on commit ae7ff2c

Please sign in to comment.