diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 488630406..7f0d5236b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,9 @@ jobs: steps: - uses: actions/checkout@v3 - - run: git submodule update --init --recursive --force + with: + submodules: recursive + fetch-depth: 0 # fetch git tags for "git describe" - uses: actions/setup-go@v3 with: go-version: 1.18.x @@ -44,7 +46,7 @@ jobs: uses: golangci/golangci-lint-action@v3 with: version: v1.46 - + - name: Test win if: matrix.os == 'windows-2022' run: go test ./...