Chore(deps): Bump Swatinem/rust-cache from 2.7.3 to 2.8.0 #2169
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: | |
| pull_request: | |
| types: [ opened, synchronize, reopened, ready_for_review ] | |
| name: Sanity checks | |
| concurrency: | |
| group: 'tests-${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' | |
| cancel-in-progress: true | |
| permissions: | |
| id-token: write | |
| contents: read | |
| jobs: | |
| test-n-lint: | |
| if: ${{ !github.event.pull_request.draft }} | |
| timeout-minutes: 90 | |
| name: ${{ matrix.target }} | |
| runs-on: ubuntu-latest-8-cores | |
| strategy: | |
| matrix: | |
| target: [ test-general, test-integration, | |
| lint-fmt, lint-clippy, cargo-build, docs-build, lint-taplo ] | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b #4.1.4 | |
| - name: Pull submodules with private key | |
| env: | |
| DEPLOY_KEY: ${{ secrets.VAULTS_INTERNAL_DEPLOY_KEY }} | |
| run: | | |
| # Setup SSH first | |
| mkdir -p ~/.ssh | |
| echo "${{ env.DEPLOY_KEY }}" > ~/.ssh/id_rsa | |
| chmod 600 ~/.ssh/id_rsa | |
| ssh-keyscan github.com >> ~/.ssh/known_hosts | |
| # Pull all submodules | |
| git submodule update --init --recursive | |
| - name: Prep build | |
| uses: ./.github/actions/prep-ubuntu | |
| with: | |
| cache: enabled | |
| # Cache needs Google credentials: | |
| GWIP: ${{ secrets.GWIP_SCCACHE }} | |
| GSA: ${{ secrets.GSA_SCCACHE }} | |
| # Required for integration tests evm interaction | |
| - name: Install Foundry | |
| uses: foundry-rs/foundry-toolchain@v1 | |
| - name: Runing cargo ${{ matrix.target }} | |
| run: ./ci/run-check.sh | |
| env: | |
| TARGET: ${{ matrix.target }} | |
| # SCCACHE_RECACHE: 1 # <- Enable to trigger re-caching | |
| id: cargo-run | |
| benchmark-check: | |
| if: ${{ !github.event.pull_request.draft }} | |
| # timeout-minutes: 90 # <- Not needed as ubuntu-latest is free of charge | |
| name: bench-check-${{ matrix.runtime }} | |
| runs-on: ubuntu-latest #-4-cores | |
| strategy: | |
| matrix: | |
| runtime: [ centrifuge ] | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b #4.1.4 | |
| - name: Pull submodules with private key | |
| env: | |
| DEPLOY_KEY: ${{ secrets.VAULTS_INTERNAL_DEPLOY_KEY }} | |
| run: | | |
| # Setup SSH first | |
| mkdir -p ~/.ssh | |
| echo "${{ env.DEPLOY_KEY }}" > ~/.ssh/id_rsa | |
| chmod 600 ~/.ssh/id_rsa | |
| ssh-keyscan github.com >> ~/.ssh/known_hosts | |
| # Pull all submodules | |
| git submodule update --init --recursive | |
| - name: Prep build | |
| uses: ./.github/actions/prep-ubuntu | |
| with: | |
| cache: enabled | |
| GWIP: ${{ secrets.GWIP_SCCACHE }} | |
| GSA: ${{ secrets.GSA_SCCACHE }} | |
| - name: Runing cargo ${{ matrix.target }} | |
| run: ./ci/run-check.sh | |
| env: | |
| TARGET: benchmark-check | |
| RUNTIME: ${{ matrix.runtime }} | |
| # SCCACHE_RECACHE: 1 # <- Enable to trigger re-caching |