From ae7ff2c3a49b3bbe41e18297c9d38542c981f72e Mon Sep 17 00:00:00 2001 From: Christian Ege Date: Mon, 25 Dec 2023 11:47:43 +0100 Subject: [PATCH] ci: fix the LFS part Signed-off-by: Christian Ege --- .github/workflows/go.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 5ced185..8e06048 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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 }}