Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,3 @@ self-hosted-runner:
labels:
- warp-ubuntu-2404-arm64-8x
- warp-ubuntu-2404-x64-8x

paths:
.github/workflows/**/*.{yml,yaml}:
# actionlint 1.7.12 bundles a stale schema for `actions/create-github-app-token@v3`, where
# `client-id` is the canonical input and `app-id` merely a deprecated alias.
# Drop once https://github.com/rhysd/actionlint/pull/668 ships in a release.
ignore:
- 'missing input "app-id" which is required by action "actions/create-github-app-token@v3"'
- 'input "client-id" is not defined in action "actions/create-github-app-token@v3"'
12 changes: 4 additions & 8 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,13 @@ updates:
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot#enabling-dependabot-version-updates-for-actions
- package-ecosystem: "github-actions"
directory: "/"
open-pull-requests-limit: 1
schedule:
interval: "weekly"
cooldown:
default-days: 7
groups:
artifact:
patterns:
- "actions/upload-artifact"
- "actions/download-artifact"
docker:
patterns:
- "docker/*"
github-actions:
patterns: ["*"]

- package-ecosystem: "npm"
directory: "/docs" # Location of package manifests
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/actions-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
outputs:
changesFound: ${{ steps.filter.outputs.changesFound }}
steps:
- uses: actions/checkout@v7
- uses: dorny/paths-filter@v4
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3
id: filter
with:
filters: |
Expand All @@ -47,6 +47,6 @@ jobs:
if: ${{ needs.changes.outputs.changesFound == 'true' }}
runs-on: ubuntu-slim
steps:
- uses: actions/checkout@v7
- uses: jdx/mise-action@v5
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: jdx/mise-action@90f833d396d0cc3674b631d2d225e306476c303a # v5.2.10
- run: mise run lint:actions
8 changes: 4 additions & 4 deletions .github/workflows/butterflynet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ jobs:
name: Butterflynet checks
runs-on: ubuntu-24.04-arm
steps:
- uses: rui314/setup-mold@v1
- uses: rui314/setup-mold@339e96b4ff1f3bd865856ba4cbbe8818a7acb038 # v1
with:
make-default: false
- name: Checkout Sources
uses: actions/checkout@v7
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup sccache
uses: mozilla-actions/sccache-action@v0.0.11
uses: mozilla-actions/sccache-action@fc920bf0ec8de6ee65d409111f7ec508035751ba # v0.0.11
timeout-minutes: ${{ fromJSON(env.CACHE_TIMEOUT_MINUTES) }}
continue-on-error: true
- uses: jdx/mise-action@v5
- uses: jdx/mise-action@90f833d396d0cc3674b631d2d225e306476c303a # v5.2.10
- name: Build and install Forest binaries
env:
# To minimize compile times: https://nnethercote.github.io/perf-book/build-configuration.html#minimizing-compile-times
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cargo-advisories.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
cargo-deny-advisories:
runs-on: ubuntu-24.04-arm
steps:
- uses: actions/checkout@v7
- uses: jdx/mise-action@v5
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: jdx/mise-action@90f833d396d0cc3674b631d2d225e306476c303a # v5.2.10
- run: cargo binstall --no-confirm cargo-deny
- run: cargo deny check advisories
- name: Set WORKFLOW_URL
Expand All @@ -20,7 +20,7 @@ jobs:
export WORKFLOW_URL="${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}"
echo "${WORKFLOW_URL}"
echo "WORKFLOW_URL=${WORKFLOW_URL}" >> "$GITHUB_ENV"
- uses: JasonEtco/create-an-issue@v2
- uses: JasonEtco/create-an-issue@1b14a70e4d8dc185e5cc76d3bec9eab20257b2c5 # v2.9.2
if: failure()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/cargo-publish-dry-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,20 @@ jobs:
} >> "$GITHUB_ENV"
fi
- name: Checkout Sources
uses: actions/checkout@v7
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup sccache
uses: mozilla-actions/sccache-action@v0.0.11
uses: mozilla-actions/sccache-action@fc920bf0ec8de6ee65d409111f7ec508035751ba # v0.0.11
timeout-minutes: ${{ fromJSON(env.CACHE_TIMEOUT_MINUTES) }}
continue-on-error: true
- uses: jdx/mise-action@v5
- uses: jdx/mise-action@90f833d396d0cc3674b631d2d225e306476c303a # v5.2.10
- run: cargo publish --dry-run
- name: Set WORKFLOW_URL
if: failure()
run: |
export WORKFLOW_URL="${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}"
echo "${WORKFLOW_URL}"
echo "WORKFLOW_URL=${WORKFLOW_URL}" >> "$GITHUB_ENV"
- uses: JasonEtco/create-an-issue@v2
- uses: JasonEtco/create-an-issue@1b14a70e4d8dc185e5cc76d3bec9eab20257b2c5 # v2.9.2
if: failure()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/checkpoints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ jobs:
update-checkpoints:
runs-on: ubuntu-24.04-arm
steps:
- uses: actions/checkout@v7
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Update checkpoints
run: |
docker run --rm -v "$PWD":/app -w /app --entrypoint forest-dev ghcr.io/chainsafe/forest:edge update-checkpoints
# This is needed in order to have the commits signed.
- uses: actions/create-github-app-token@v3
- uses: actions/create-github-app-token@f418cff399f7aef4c2f0ad47e25ca7a6abbdd6fc # v3.4.0
id: generate-token
with:
client-id: ${{ secrets.LESHY_APP_ID }}
private-key: ${{ secrets.LESHY_APP_PRIVATE_KEY }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v8
uses: peter-evans/create-pull-request@3ffccacd46053766916f087ce41d627c0b8cf2d1 # v8.1.3
with:
base: main
branch: leshy/update-forest-checkpoints
Expand Down
27 changes: 14 additions & 13 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ jobs:
codeChange: ${{ steps.filter.outputs.codeChange }}
workflowChange: ${{ steps.filter.outputs.workflowChange }}
steps:
- uses: actions/checkout@v7
- uses: dorny/paths-filter@v4
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3
id: filter
with:
predicate-quantifier: every
Expand Down Expand Up @@ -77,23 +77,24 @@ jobs:
echo "SCCACHE_REGION=${{ vars.SCCACHE_REGION}}"
} >> "$GITHUB_ENV"
fi
- uses: rui314/setup-mold@v1
- uses: rui314/setup-mold@339e96b4ff1f3bd865856ba4cbbe8818a7acb038 # v1
with:
make-default: false
- name: Setup sccache
uses: mozilla-actions/sccache-action@v0.0.11
uses: mozilla-actions/sccache-action@fc920bf0ec8de6ee65d409111f7ec508035751ba # v0.0.11
timeout-minutes: ${{ fromJSON(env.CACHE_TIMEOUT_MINUTES) }}
continue-on-error: true
- uses: actions/checkout@v7
- uses: jdx/mise-action@v5
- uses: taiki-e/install-action@cargo-llvm-cov
- uses: taiki-e/install-action@nextest
- uses: actions/cache@v6
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: jdx/mise-action@90f833d396d0cc3674b631d2d225e306476c303a # v5.2.10
- uses: taiki-e/install-action@75a7c0f87bd666af3cdb75c5b9e9d03ab6044e6f # v2.90.6
with:
tool: cargo-llvm-cov,nextest
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
id: cache-proof-params
with:
path: ${{ env.FIL_PROOFS_PARAMETER_CACHE }}
key: proof-params-keys
- uses: actions/cache@v6
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
id: cache-actor-bundle
with:
path: ${{ env.FOREST_ACTOR_BUNDLE_PATH }}
Expand All @@ -108,21 +109,21 @@ jobs:
env:
FOREST_TEST_SKIP_PROOF_PARAM_CHECK: 1
- name: Upload Test Results to CodeCov
uses: codecov/codecov-action@v7
uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
if: ${{ !cancelled() }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
report_type: "test_results"
files: target/nextest/default/junit.xml
fail_ci_if_error: false
# Save lcov.info as an artifact for debugging purposes
- uses: actions/upload-artifact@v7
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: lcov.info
path: lcov.info
if-no-files-found: error
- name: Upload CodeCov
uses: codecov/codecov-action@v7
uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: lcov.info
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/docker-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,23 @@ jobs:
timeout-minutes: 30
steps:
- name: Checkout code
uses: actions/checkout@v7
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ inputs.git_ref }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1

- name: Login to Github Packages
uses: docker/login-action@v4
uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4.8.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Docker Meta fat for PRs only
id: metafat
uses: docker/metadata-action@v6
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6.2.0
with:
images: ghcr.io/chainsafe/forest
flavor: |
Expand All @@ -46,7 +46,7 @@ jobs:
type=raw,value={{date 'YYYY-MM-DD'}}-{{sha}}-fat

- name: Build fat image and push to GitHub Container Registry
uses: docker/build-push-action@v7
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
with:
file: ./Dockerfile
tags: ${{ steps.metafat.outputs.tags }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-latest-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ jobs:
runs-on: ubuntu-24.04-arm
steps:
- name: Login to Github Packages
uses: docker/login-action@v4
uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4.8.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1

- name: Re-tag image and push to GHCR
if: ${{ !fromJSON(github.event.inputs.dry_run) }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/docker-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ jobs:
outputs:
changesFound: ${{ steps.filter.outputs.changesFound }}
steps:
- uses: actions/checkout@v7
- uses: dorny/paths-filter@v4
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3
id: filter
with:
filters: |
Expand All @@ -53,19 +53,19 @@ jobs:
if: ${{ needs.changes.outputs.changesFound == 'true' }}
runs-on: ubuntu-24.04-arm
steps:
- uses: actions/checkout@v7
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: validate compose file
run: |
cp monitored-stack/.env.example monitored-stack/.env
docker compose -f monitored-stack/docker-compose.yml config
- uses: hadolint/hadolint-action@v3.5.0
- uses: hadolint/hadolint-action@06be81baf89a55ffd0e24b8f04a4185738dd3387 # v3.5.0
with:
dockerfile: "Dockerfile*"
recursive: true
# https://github.com/hadolint/hadolint/wiki/DL3008
# https://github.com/hadolint/hadolint/wiki/DL3018
ignore: DL3008,DL3018
- uses: hadolint/hadolint-action@v3.5.0
- uses: hadolint/hadolint-action@06be81baf89a55ffd0e24b8f04a4185738dd3387 # v3.5.0
with:
dockerfile: "*.dockerfile"
recursive: true
Expand Down
Loading
Loading