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 }}