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
2 changes: 1 addition & 1 deletion .github/workflows/_build-binaries-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
./scripts/package.sh "${{ matrix.target }}" "$PKG_FULL_NAME"

- name: Upload artifact
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
with:
# TODO(#3790): Perhaps this name needs to be changed to avoid conflicts with `_build-binaries.yml` workflow
name: build-${{ matrix.target }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_build-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
./scripts/package.sh "${{ matrix.target }}" "$PKG_FULL_NAME"

- name: Upload artifact
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
with:
name: build-${{ matrix.target }}
path: ${{ env.PKG_FULL_NAME }}.*
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_build-plugin-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:
echo "OUTPUT_BINARY_PATH=./crates/${{ inputs.plugin_name }}/target/${TARGET}/release/${OUTPUT_BINARY}" >> $GITHUB_ENV

- name: Upload Artifact
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
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@v6
uses: actions/download-artifact@v8
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@v6
uses: actions/download-artifact@v8
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 @@ -66,7 +66,7 @@ jobs:
- name: Build and archive tests
run: cargo nextest archive --cargo-profile ci -p forge --archive-file 'nextest-archive-forge-${{ runner.os }}.tar.zst'
- name: Upload archive to workflow
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
with:
name: nextest-archive-forge-${{ runner.os }}
path: nextest-archive-forge-${{ runner.os }}.tar.zst
Expand All @@ -90,7 +90,7 @@ jobs:
- name: Build and archive tests
run: cargo nextest archive --cargo-profile ci -p forge --features cairo-native --archive-file 'nextest-archive-forge-native-${{ runner.os }}.tar.zst'
- name: Upload archive to workflow
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
with:
name: nextest-archive-forge-native-${{ runner.os }}
path: nextest-archive-forge-native-${{ runner.os }}.tar.zst
Expand All @@ -111,7 +111,7 @@ jobs:
- uses: taiki-e/install-action@055f5df8c3f65ea01cd41e9dc855becd88953486 # 2.75.18
with:
tool: nextest@0.9.98
- uses: actions/download-artifact@v6
- uses: actions/download-artifact@v8
with:
name: nextest-archive-forge-${{ runner.os }}
- name: nextest partition ${{ matrix.partition }}/3
Expand All @@ -133,7 +133,7 @@ jobs:
- uses: taiki-e/install-action@055f5df8c3f65ea01cd41e9dc855becd88953486 # 2.75.18
with:
tool: nextest@0.9.98
- uses: actions/download-artifact@v6
- uses: actions/download-artifact@v8
with:
name: nextest-archive-forge-native-${{ runner.os }}
- name: nextest partition ${{ matrix.partition }}/3
Expand Down Expand Up @@ -187,7 +187,7 @@ jobs:
- uses: taiki-e/install-action@055f5df8c3f65ea01cd41e9dc855becd88953486 # 2.75.18
with:
tool: nextest@0.9.98
- uses: actions/download-artifact@v6
- uses: actions/download-artifact@v8
with:
name: nextest-archive-forge-${{ runner.os }}
- name: nextest partition ${{ matrix.partition }}/3
Expand Down Expand Up @@ -241,7 +241,7 @@ jobs:
- uses: taiki-e/install-action@055f5df8c3f65ea01cd41e9dc855becd88953486 # 2.75.18
with:
tool: nextest@0.9.98
- uses: actions/download-artifact@v6
- uses: actions/download-artifact@v8
with:
name: nextest-archive-forge-native-${{ runner.os }}
- name: nextest partition ${{ matrix.partition }}/3
Expand Down Expand Up @@ -347,7 +347,7 @@ jobs:
run: cargo nextest archive --cargo-profile ci -p sncast --archive-file 'nextest-archive-cast-${{ runner.os }}.tar.zst'

- name: Upload archive to workflow
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
with:
name: nextest-archive-cast-${{ runner.os }}
path: nextest-archive-cast-${{ runner.os }}.tar.zst
Expand All @@ -369,7 +369,7 @@ jobs:
- uses: taiki-e/install-action@v2
with:
tool: nextest@0.9.98
- uses: actions/download-artifact@v6
- uses: actions/download-artifact@v8
with:
name: nextest-archive-cast-${{ runner.os }}
- name: nextest partition ${{ matrix.partition }}/3
Expand Down Expand Up @@ -446,7 +446,7 @@ jobs:
exit 0

- name: Check typos
uses: crate-ci/typos@v1.40.0
uses: crate-ci/typos@v1.46.2

build-docs:
name: Test Building Docs
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
MDBOOK_VARIABLES_VERSION: 0.3.0
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@0b1efabc08b657293548b77fb76cc02d26091c7e
- uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9
with:
toolchain: stable
- uses: actions/setup-node@v6
Expand All @@ -61,7 +61,7 @@ jobs:
working-directory: ./sncast_std
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
uses: actions/configure-pages@v6
- name: Build with mdBook
run: mdbook build
working-directory: ./docs
Expand All @@ -78,7 +78,7 @@ jobs:
sscli --base https://foundry-rs.github.io/starknet-foundry
working-directory: ./docs/book/html
- name: Upload artifact
uses: actions/upload-pages-artifact@v4
uses: actions/upload-pages-artifact@v5
with:
path: ./docs/book/html
# Deployment job
Expand All @@ -91,4 +91,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v5
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,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@v6
uses: actions/download-artifact@v8
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 @@ -65,7 +65,7 @@ jobs:
steps:
- uses: actions/checkout@v6

- uses: dtolnay/rust-toolchain@0b1efabc08b657293548b77fb76cc02d26091c7e
- uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9
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 @@ -30,7 +30,7 @@ jobs:

- name: Get version from Cargo.toml
id: lookupVersion
uses: mikefarah/yq@7ccaf8e700ce99eb3f0f6cef7f5930a0b3c827cd
uses: mikefarah/yq@751d8ad57b84f1794661bc70c0afb92a22ad7b3c # v4.53.2
with:
cmd: yq -oy '.workspace.package.version' 'Cargo.toml'

Expand Down Expand Up @@ -146,7 +146,7 @@ jobs:
- uses: actions/checkout@v6

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

Expand All @@ -157,7 +157,7 @@ jobs:

- name: Create GitHub release
id: create-release
uses: taiki-e/create-gh-release-action@26b80501670402f1999aff4b934e1574ef2d3705
uses: taiki-e/create-gh-release-action@eba8ea96c86cca8a37f1b56e94b4d13301fba651 # v1.11.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
draft: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ jobs:

- name: Get version from Cargo.toml
id: lookupVersion
uses: mikefarah/yq@7ccaf8e700ce99eb3f0f6cef7f5930a0b3c827cd
uses: mikefarah/yq@751d8ad57b84f1794661bc70c0afb92a22ad7b3c # v4.53.2
with:
cmd: yq -oy '.workspace.package.version' 'Cargo.toml'

Expand Down Expand Up @@ -211,7 +211,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.1.1
uses: slackapi/slack-github-action@v3.0.3
with:
webhook: ${{ secrets.SLACK_SCHEDULED_TESTS_FAILURE_WEBHOOK_URL }}
webhook-type: webhook-trigger
Expand Down
1 change: 1 addition & 0 deletions _typos.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[default.extend-words]
ba = "ba"
bimap = "bimap"

[files]
extend-exclude = ["docs/theme/head.hbs"]
2 changes: 1 addition & 1 deletion crates/forge/tests/integration/setup_fork.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ fn fork_aliased_decorator() {
}

#[test]
fn fork_aliased_decorator_overrding() {
fn fork_aliased_decorator_overriding() {
let test = test_case!(indoc!(
r#"
use starknet::syscalls::get_execution_info_syscall;
Expand Down
Loading