Skip to content

Commit

Permalink
fix(ci): fetch tags
Browse files Browse the repository at this point in the history
We need submoule tags to be able to fetch the pre-built FFI.
  • Loading branch information
Stebalien committed Nov 7, 2024
1 parent 401a395 commit 82152d4
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0
- uses: ./.github/actions/install-system-dependencies
- uses: ./.github/actions/install-go
- run: make deps lotus
4 changes: 4 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0
- uses: ./.github/actions/install-system-dependencies
- uses: ./.github/actions/install-go
- uses: ./.github/actions/make-deps
Expand All @@ -41,6 +42,7 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0
- uses: ./.github/actions/install-system-dependencies
- uses: ./.github/actions/install-go
- uses: ./.github/actions/make-deps
Expand All @@ -53,6 +55,7 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0
- uses: ./.github/actions/install-go
- run: go fmt ./...
- run: git diff --exit-code
Expand All @@ -63,6 +66,7 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0
- uses: ./.github/actions/install-go
- run: go mod tidy -v
- run: git diff --exit-code
1 change: 1 addition & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0
- id: git
run: |
ref="${GITHUB_REF#refs/heads/}"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ jobs:
uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0
- name: Install system dependencies
uses: ./.github/actions/install-system-dependencies
- name: Install Go
Expand All @@ -99,6 +100,7 @@ jobs:
uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0
ref: ${{ github.event.inputs.ref }}
- name: Build binaries
env:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0
- id: test
env:
# Unit test groups other than unit-rest
Expand Down Expand Up @@ -176,6 +177,7 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0
- id: fetch_params
env:
CACHE_KEY: fetch-params-${{ hashFiles('./extern/filecoin-ffi/parameters.json') }}
Expand Down Expand Up @@ -240,6 +242,7 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0
- uses: ./.github/actions/install-system-dependencies
- uses: ./.github/actions/install-go
- name: Install gotestsum
Expand Down

0 comments on commit 82152d4

Please sign in to comment.