From dedfafd9206b76bcf7ff5a8ca636280e5d283509 Mon Sep 17 00:00:00 2001 From: Georgios Konstantopoulos Date: Mon, 17 Jan 2022 13:59:40 +0200 Subject: [PATCH] ci: add forge --- .github/workflows/forge.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/forge.yml diff --git a/.github/workflows/forge.yml b/.github/workflows/forge.yml new file mode 100644 index 0000000..41912b4 --- /dev/null +++ b/.github/workflows/forge.yml @@ -0,0 +1,23 @@ +name: Forge Tests +on: + push: + branches: + - master + pull_request: + +jobs: + run-ci: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Install Foundry + uses: onbjerg/foundry-toolchain@v1 + with: + version: nightly + + - name: Pull library deps + run: forge update + + - name: Run forge tests + run: forge test