ci-foundry-test.yml 623 B

1234567891011121314151617181920212223242526272829
  1. name: stylus-foundry-test
  2. on:
  3. pull_request:
  4. paths:
  5. - target_chains/ethereum/sdk/stylus/**
  6. push:
  7. branches:
  8. - main
  9. env:
  10. FOUNDRY_PROFILE: ci
  11. jobs:
  12. check:
  13. name: Foundry project
  14. runs-on: ubuntu-latest
  15. defaults:
  16. run:
  17. working-directory: target_chains/ethereum/sdk/stylus
  18. steps:
  19. - name: Checkout repository
  20. uses: actions/checkout@v4
  21. with:
  22. submodules: recursive
  23. - name: Install Foundry
  24. uses: foundry-rs/foundry-toolchain@v1
  25. with:
  26. version: nightly
  27. - name: Show Forge version
  28. run: forge --version