Skip to content

Commit

Permalink
Fix just again lol
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Hartnell committed Mar 25, 2024
1 parent cb2923e commit 3fc65eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 32 deletions.
23 changes: 1 addition & 22 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,8 @@ jobs:
target: wasm32-unknown-unknown
override: true

- name: Set latest just version
run: echo "JUST_VERSION=$(cargo search just -q | sed -n -e '/^just[[:space:]]/p' | cut -d '"' -f 2)" >> $GITHUB_ENV

- name: Get cached just
uses: actions/cache@v3
with:
path: ~/.cargo/bin/just
key: ${{ runner.os }}-just-${{ env.JUST_VERSION }}

- name: Install just
run: cargo install just || true
run: cargo install just

- name: Rust Dependencies Cache
uses: actions/cache@v3
Expand All @@ -48,18 +39,6 @@ jobs:
artifacts/
key: ${{ runner.os }}-cargo-with-artifacts-${{ hashFiles('**/Cargo.lock') }}

- name: Set latest just version
run: echo "JUST_VERSION=$(cargo search just -q | sed -n -e '/^just[[:space:]]/p' | cut -d '"' -f 2)" >> $GITHUB_ENV

- name: Get cached just
uses: actions/cache@v3
with:
path: ~/.cargo/bin/just
key: ${{ runner.os }}-just-${{ env.JUST_VERSION }}

- name: Install just
run: cargo install just || true

- name: Get mainnet GAS_LIMIT
run: echo "MAINNET_GAS_LIMIT=$(curl -s https://juno-rpc.polkachu.com/consensus_params | jq -r '.result.consensus_params.block.max_gas')" >> $GITHUB_ENV

Expand Down
11 changes: 1 addition & 10 deletions .github/workflows/test_tube.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,8 @@ jobs:
artifacts/
key: ${{ runner.os }}-cargo-with-artifacts-${{ hashFiles('**/Cargo.lock') }}

- name: Set latest just version
run: echo "JUST_VERSION=$(cargo search just -q | sed -n -e '/^just[[:space:]]/p' | cut -d '"' -f 2)" >> $GITHUB_ENV

- name: Get cached just
uses: actions/cache@v3
with:
path: ~/.cargo/bin/just
key: ${{ runner.os }}-just-${{ env.JUST_VERSION }}

- name: Install just
run: cargo install just || true
run: cargo add just

- name: Run download deps
run: just download-deps
Expand Down

0 comments on commit 3fc65eb

Please sign in to comment.