ci: Remove foundry command from container start to fix path issues #879
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
| name: Dev Container Tests | |
| on: | |
| # Run workflow on every push to main | |
| push: | |
| branches: | |
| - main | |
| # Run workflow on all PRs | |
| pull_request: | |
| jobs: | |
| arb-test: | |
| name: Arbitrum Integration Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Login to GitHub Container Registry | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Setup Infra + Run Arbitrum L2 + Run Metabased Sequencer + Test transaction | |
| timeout-minutes: 15 | |
| uses: devcontainers/[email protected] | |
| with: | |
| imageName: ghcr.io/syndicateprotocol/metabased-devcontainer | |
| imageTag: cache-pr-${{ github.event.pull_request.number }} | |
| push: never | |
| # Pull cached images from both main branch and PR branch | |
| cacheFrom: | | |
| ghcr.io/syndicateprotocol/metabased-devcontainer:cache-main | |
| ghcr.io/syndicateprotocol/metabased-devcontainer:cache-pr-${{ github.event.pull_request.number }} | |
| runCmd: | | |
| # Run all verifications | |
| just verify-all | |
| - name: Upload logs | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: debug-logs | |
| path: /tmp/sequencer-setup.log |