diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index 41aa12b09..42af0ab81 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -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 + uses: extractions/setup-just@v1 - name: Rust Dependencies Cache uses: actions/cache@v3 @@ -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 diff --git a/.github/workflows/test_tube.yml b/.github/workflows/test_tube.yml index 2ed56f683..3b1a584cb 100644 --- a/.github/workflows/test_tube.yml +++ b/.github/workflows/test_tube.yml @@ -33,7 +33,7 @@ jobs: with: repository: CosmWasm/wasmvm path: ./wasmvm - ref: v1.4.1 + ref: v1.5.2 - name: Install libwasmv run: cd ./wasmvm && make build-rust && cd ../ @@ -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 + uses: extractions/setup-just@v1 - name: Run download deps run: just download-deps