Skip to content

Commit

Permalink
Merge branch 'main' into rianhughes/seq-shadow-mode-3
Browse files Browse the repository at this point in the history
  • Loading branch information
rianhughes authored Oct 18, 2024
2 parents 3d5ffa8 + 0d02f9e commit 7a2e863
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 15 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,19 @@ jobs:

- name: Install dependencies (macOS)
if: runner.os == 'macOS'
run: brew install upx cargo-c jemalloc
run: brew install cargo-c jemalloc

- name: Set up Go
uses: actions/setup-go@v5.0.2
uses: actions/setup-go@v5
with:
go-version-file: go.mod

- name: Build Juno
run: |
make juno
upx build/juno
if [[ "${{ runner.os }}" != "macOS" ]]; then
upx build/juno
fi
mv build/juno ${{ env.ARTIFACT_NAME }}
- name: Generate Checksum
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci-cd-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
needs: [validate_dev]
uses: ./.github/workflows/starknet-rs-tests.yml
secrets:
STARKNET_RPC: ${{ secrets.DEV_SEPOLIA_URL }}/v0_6
STARKNET_RPC: ${{ secrets.DEV_SEPOLIA_URL }}/v0_7

dev-starknet-js-tests:
needs: [validate_dev]
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
needs: [promote_to_staging]
uses: ./.github/workflows/starknet-rs-tests.yml
secrets:
STARKNET_RPC: ${{ secrets.STAGING_SEPOLIA_URL }}/v0_6
STARKNET_RPC: ${{ secrets.STAGING_SEPOLIA_URL }}/v0_7

staging-starknet-js-tests:
needs: [promote_to_staging]
Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:
needs: [test_in_production]
uses: ./.github/workflows/starknet-rs-tests.yml
secrets:
STARKNET_RPC: ${{ secrets.PROD_SEPOLIA_URL }}/v0_6
STARKNET_RPC: ${{ secrets.PROD_SEPOLIA_URL }}/v0_7

prod-starknet-js-tests:
needs: [test_in_production]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/juno-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5.0.2
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/juno-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up go
uses: actions/setup-go@v5.0.2
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- uses: dtolnay/rust-toolchain@stable
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rpc-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
token: ${{ secrets.REPOSITORY_DISPATCH_TOKEN }}

- name: Setup Go Environment
uses: actions/setup-go@v5.0.2
uses: actions/setup-go@v5
with:
go-version-file: rpc-tests/go.mod

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/starknet-go-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
ref:
description: 'The branch, tag or SHA to checkout'
required: false
default: 'v0.7.2'
default: '1ede19210c10f1f1f9c3cb49a42f737cd90eda5e'
type: string
secrets:
TEST_RPC_URL:
Expand All @@ -23,7 +23,7 @@ jobs:
ref: ${{ inputs.ref }}

- name: Setup Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: '1.23'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/starknet-js-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: starknet-io/starknet.js
ref: v6.6.6
ref: v6.14.1

- name: Setup Node.js
uses: actions/setup-node@v4
Expand All @@ -29,7 +29,7 @@ jobs:
run: npm ci

- name: Run tests
run: npm test -- rpcProvider.test.ts transactionReceipt.test.ts rpcChannel.test.ts defaultProvider.test.ts contract.test.ts cairo1v2.test.ts cairo1v2_typed.test.ts cairo1.test.ts account.test.ts account.starknetId.test.ts --testNamePattern="^(?!.*declare Sierra 1.5.0).*$"
run: npm test -- rpcProvider.test.ts transactionReceipt.test.ts rpcChannel.test.ts defaultProvider.test.ts contract.test.ts cairo1v2.test.ts cairo1v2_typed.test.ts cairo1.test.ts account.test.ts account.starknetId.test.ts --testNamePattern="^(?!.*(declare Sierra 1.5.0|getSyncingStats)).*$"
env:
TEST_RPC_URL: ${{ secrets.TEST_RPC_URL }}
TEST_ACCOUNT_ADDRESS: ${{ secrets.TEST_ACCOUNT_ADDRESS }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/starknet-rs-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: xJonathanLEI/starknet-rs
ref: starknet-providers/v0.10.0
ref: starknet/v0.12.0

- name: Setup Rust
uses: actions-rs/toolchain@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync_first_100_blocks_smoke_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5.0.2
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
Expand Down

0 comments on commit 7a2e863

Please sign in to comment.