Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into feat/add-create2-fa…
Browse files Browse the repository at this point in the history
…ctory
  • Loading branch information
ChefMist committed Oct 10, 2024
2 parents b556fa0 + c807a6d commit 47a8dd5
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 30 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Lint

on:
push:
branches:
- main
pull_request:

jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest

steps:
- name: Check out Git repository
uses: actions/checkout@v3

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: Run lint
run: forge fmt --check
40 changes: 10 additions & 30 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,45 +1,25 @@
name: CI
name: Tests

on:
push:
branches:
- main
pull_request:
workflow_dispatch:

env:
FOUNDRY_PROFILE: ci

jobs:
check:
strategy:
fail-fast: true

name: Foundry project
forge-tests:
name: Forge Tests
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v3
with:
submodules: recursive

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: Show Forge version
run: |
forge --version
- name: Run Forge fmt
run: |
forge fmt --check
id: fmt

- name: Run Forge build
run: |
forge build --sizes
id: build
version: nightly-471e4ac317858b3419faaee58ade30c0671021e0 # Nightly (2024-10-03)

- name: Run Forge tests
run: |
forge test -vvv
id: test
- name: Run tests
run: forge test -vvv --isolate

0 comments on commit 47a8dd5

Please sign in to comment.