Skip to content

Commit

Permalink
Set fetch depth in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
maguro committed Oct 26, 2024
1 parent e341f9f commit de1e92a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: test
run: go test -v -race -timeout 10s ./...
- name: integration_test
Expand All @@ -35,6 +37,8 @@ jobs:
go-version: 1.23.x
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Linting
uses: golangci/golangci-lint-action@v3
with:
Expand All @@ -50,6 +54,8 @@ jobs:
go-version: 1.23.x
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Calc coverage
run: go test -v -covermode=count -coverprofile=coverage.out -timeout 10s ./...
- name: Convert coverage.out to coverage.lcov
Expand Down

0 comments on commit de1e92a

Please sign in to comment.