Skip to content
Open
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
4 changes: 2 additions & 2 deletions .github/workflows/_build-binaries-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
run: |
rustup target add ${{ matrix.target }}

- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6
- uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1

- name: Setup LLVM on MacOS
if: matrix.system == 'macos'
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
./scripts/package.sh "${{ matrix.target }}" "$PKG_FULL_NAME"

- name: Upload artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: build-${{ matrix.target }}
path: ${{ env.PKG_FULL_NAME }}.*
4 changes: 2 additions & 2 deletions .github/workflows/_build-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
run: |
rustup target add ${{ matrix.target }}

- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6
- uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1
with:
workspaces: starknet-foundry

Expand All @@ -91,7 +91,7 @@ jobs:
./scripts/package.sh "${{ matrix.target }}" "$PKG_FULL_NAME"

- name: Upload artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: build-${{ matrix.target }}
path: ${{ env.PKG_FULL_NAME }}.*
4 changes: 2 additions & 2 deletions .github/workflows/_build-plugin-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
run: |
rustup target add ${{ matrix.target }}

- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6
- uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1

- name: Install cross
if: matrix.cross
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
echo "OUTPUT_BINARY_PATH=./crates/${{ inputs.plugin_name }}/target/${TARGET}/release/${OUTPUT_BINARY}" >> $GITHUB_ENV

- name: Upload Artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: build-${{ inputs.plugin_name }}-${{ matrix.target }}
path: ${{ env.OUTPUT_BINARY_PATH }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_publish-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- uses: software-mansion/setup-scarb@v1

- name: Download artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v6
with:
path: artifacts-dl

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_test-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
rustup target add ${{ matrix.target }}

- name: Download artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v6
with:
path: artifacts-dl

Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Build and archive tests
run: cargo nextest archive --cargo-profile ci -p forge --archive-file 'nextest-archive-${{ runner.os }}.tar.zst'
- name: Upload archive to workflow
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: nextest-archive-${{ runner.os }}
path: nextest-archive-${{ runner.os }}.tar.zst
Expand All @@ -60,7 +60,7 @@ jobs:
- name: Build and archive tests
run: cargo nextest archive --cargo-profile ci -p forge --features cairo-native --archive-file 'nextest-archive-${{ runner.os }}-native.tar.zst'
- name: Upload archive to workflow
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: nextest-archive-${{ runner.os }}-native
path: nextest-archive-${{ runner.os }}-native.tar.zst
Expand All @@ -79,7 +79,7 @@ jobs:
- uses: taiki-e/install-action@v2
with:
tool: [email protected]
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v6
with:
name: nextest-archive-${{ runner.os }}
- name: nextest partition ${{ matrix.partition }}/3
Expand All @@ -99,7 +99,7 @@ jobs:
- uses: taiki-e/install-action@v2
with:
tool: [email protected]
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v6
with:
name: nextest-archive-${{ runner.os }}-native
- name: nextest partition ${{ matrix.partition }}/3
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
- uses: taiki-e/install-action@v2
with:
tool: [email protected]
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v6
with:
name: nextest-archive-${{ runner.os }}
- name: nextest partition ${{ matrix.partition }}/3
Expand Down Expand Up @@ -195,7 +195,7 @@ jobs:
- uses: taiki-e/install-action@v2
with:
tool: [email protected]
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v6
with:
name: nextest-archive-${{ runner.os }}-native
- name: nextest partition ${{ matrix.partition }}/3
Expand Down Expand Up @@ -338,11 +338,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b
- uses: dtolnay/rust-toolchain@6d653acede28d24f02e3cd41383119e8b1b35921
with:
toolchain: stable
components: rustfmt
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6
- uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1
- name: Check formatting
run: cargo fmt --check

Expand Down Expand Up @@ -408,4 +408,4 @@ jobs:
steps:
- uses: actions/checkout@v5
- name: typos-action
uses: crate-ci/typos@v1.31.2
uses: crate-ci/typos@v1.39.0
8 changes: 4 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ jobs:
env:
MDBOOK_VERSION: 0.4.52
steps:
- uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b
- uses: dtolnay/rust-toolchain@6d653acede28d24f02e3cd41383119e8b1b35921
with:
toolchain: stable
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6
- uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
- uses: actions/setup-node@v6
- name: Install sitemap CLI
run: |
npm i -g static-sitemap-cli
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
sscli --base https://foundry-rs.github.io/starknet-foundry
working-directory: ./docs/book/html
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
uses: actions/upload-pages-artifact@v4
with:
path: ./docs/book/html
# Deployment job
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/label-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
permissions:
issues: write
steps:
- uses: actions/github-script@v7
- uses: actions/github-script@v8
with:
script: |
github.rest.issues.addLabels({
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ jobs:
git archive "--prefix=starknet-foundry-${{ needs.prepare.outputs.nightly_tag }}/" -o "starknet-foundry-${{ needs.prepare.outputs.nightly_tag }}.tar.gz" HEAD

- name: Download artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v6
with:
path: artifacts-dl

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-std.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
steps:
- uses: actions/checkout@v5

- uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b
- uses: dtolnay/rust-toolchain@6d653acede28d24f02e3cd41383119e8b1b35921
with:
toolchain: stable

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
steps:
- uses: actions/checkout@v5

- uses: actions/setup-node@v5
- uses: actions/setup-node@v6
with:
cache: 'npm'
cache-dependency-path: scripts/package-lock.json
Expand All @@ -29,7 +29,7 @@ jobs:

- name: Get version from Cargo.toml
id: lookupVersion
uses: mikefarah/yq@8bf425b4d1344db7cd469a8d10a390876e0c77fd
uses: mikefarah/yq@0ecdce24e83f0fa127940334be98c86b07b0c488
with:
cmd: yq -oy '.workspace.package.version' 'Cargo.toml'

Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
- uses: actions/checkout@v5

- name: Download artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v6
with:
path: artifacts-dl

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
steps:
- uses: actions/checkout@v5
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6
- uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1
- uses: software-mansion/setup-scarb@v1
with:
scarb-version: ${{ matrix.version }}
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:

- uses: actions/checkout@v5
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6
- uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1
- uses: software-mansion/setup-scarb@v1
with:
scarb-version: ${{ matrix.version }}
Expand All @@ -110,7 +110,7 @@ jobs:
steps:
- uses: actions/checkout@v5
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6
- uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1
- uses: software-mansion/setup-scarb@v1
with:
scarb-version: ${{ matrix.version }}
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:

- name: Get version from Cargo.toml
id: lookupVersion
uses: mikefarah/yq@8bf425b4d1344db7cd469a8d10a390876e0c77fd
uses: mikefarah/yq@0ecdce24e83f0fa127940334be98c86b07b0c488
with:
cmd: yq -oy '.workspace.package.version' 'Cargo.toml'

Expand Down Expand Up @@ -221,7 +221,7 @@ jobs:
needs: [ create-nightly-release, test-forge-unit-and-integration, test-forge-e2e, test-cast , build-plugin-binaries, build-binaries, publish-plugin, publish-std, test-binary ]
steps:
- name: Notify that the workflow has failed
uses: slackapi/slack-github-action@v2.0.0
uses: slackapi/slack-github-action@v2.1.1
with:
webhook: ${{ secrets.SLACK_SCHEDULED_TESTS_FAILURE_WEBHOOK_URL }}
webhook-type: webhook-trigger
Expand Down
Loading