Skip to content

Commit

Permalink
workflow: add format check and run on push
Browse files Browse the repository at this point in the history
  • Loading branch information
burnto committed Dec 14, 2023
1 parent 1bf6605 commit 81614cf
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: test
name: Test

on: workflow_dispatch
on: [push]

env:
FOUNDRY_PROFILE: ci
Expand All @@ -22,6 +22,11 @@ jobs:
with:
version: nightly

- name: Check Forge Format
run: |
forge fmt --check
id: fmt-check

- name: Run Forge build
run: |
forge --version
Expand Down

0 comments on commit 81614cf

Please sign in to comment.