forked from filecoin-project/lotus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/v1.30.0' into streaming
# Conflicts: # CHANGELOG.md # build/openrpc/full.json # build/openrpc/gateway.json # build/openrpc/miner.json # build/openrpc/worker.json # build/version.go # documentation/en/cli-lotus.md # itests/fevm_test.go # node/impl/full/eth.go
- Loading branch information
Showing
292 changed files
with
12,535 additions
and
4,373 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Make Deps | ||
description: Runs `make deps` with caching | ||
|
||
inputs: | ||
working-directory: | ||
description: Specifies the working directory where the command is run. | ||
required: false | ||
github-token: | ||
description: Specifies the token to use when calling GitHub APIs while building FFI. | ||
required: false | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- id: cache-ffi | ||
uses: actions/cache/restore@v4 | ||
with: | ||
key: ${{ runner.os }}-${{ runner.arch }}-ffi-${{ hashFiles('./.git/modules/extern/filecoin-ffi/HEAD') }} | ||
path: | | ||
./extern/filecoin-ffi/filcrypto.h | ||
./extern/filecoin-ffi/libfilcrypto.a | ||
./extern/filecoin-ffi/filcrypto.pc | ||
./build/.filecoin-install | ||
./build/.update-modules | ||
- if: steps.cache-ffi.outputs.cache-hit != 'true' | ||
shell: bash | ||
working-directory: ${{ inputs.working-directory || github.workspace }} | ||
env: | ||
GITHUB_TOKEN: ${{ inputs.github-token || github.token }} | ||
run: FFI_PORTABLE=1 make deps | ||
- if: steps.cache-ffi.outputs.cache-hit != 'true' | ||
uses: actions/cache/save@v4 | ||
with: | ||
key: ${{ runner.os }}-${{ runner.arch }}-ffi-${{ hashFiles('./.git/modules/extern/filecoin-ffi/HEAD') }} | ||
path: | | ||
./extern/filecoin-ffi/filcrypto.h | ||
./extern/filecoin-ffi/libfilcrypto.a | ||
./extern/filecoin-ffi/filcrypto.pc | ||
./build/.filecoin-install | ||
./build/.update-modules |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,30 +20,17 @@ permissions: | |
contents: read | ||
|
||
jobs: | ||
check-docsgen: | ||
name: Check (docs-check) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: 'recursive' | ||
- uses: ./.github/actions/install-system-dependencies | ||
- uses: ./.github/actions/install-go | ||
- run: go install golang.org/x/tools/cmd/goimports | ||
- run: make deps | ||
- run: make docsgen | ||
- run: git diff --exit-code | ||
check-gen: | ||
name: Check (gen-check) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- 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 | ||
- run: go install golang.org/x/tools/cmd/goimports | ||
- uses: ./.github/actions/make-deps | ||
- run: make gen | ||
- run: git diff --exit-code | ||
- run: make docsgen-cli | ||
|
@@ -55,10 +42,11 @@ 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 | ||
- run: go install github.com/golangci/golangci-lint/cmd/[email protected] | ||
- run: make deps | ||
- run: golangci-lint run -v --timeout 10m --concurrency 4 | ||
check-fmt: | ||
name: Check (gofmt) | ||
|
@@ -67,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 | ||
|
@@ -77,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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.