Skip to content

Commit

Permalink
integrate CI
Browse files Browse the repository at this point in the history
  • Loading branch information
xBalbinus committed Sep 20, 2023
1 parent c6ee860 commit e724a8a
Showing 1 changed file with 18 additions and 31 deletions.
49 changes: 18 additions & 31 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,21 @@
name: test
name: CI
on:
pull_request:
push:
branches:
- master
workflow_dispatch:

on: workflow_dispatch

env:
FOUNDRY_PROFILE: ci
permissions:
actions: read
checks: read
contents: read
repository-projects: read


jobs:
check:
strategy:
fail-fast: true

name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive

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

- name: Run Forge build
run: |
forge --version
forge build --sizes
id: build

- name: Run Forge tests
run: |
forge test -vvv
id: test
solidity-base:
uses: smart-transaction/actions/.github/workflows/solidity-base.yml@main
secrets: inherit
with:
disable-gas-snapshot: true # disabling gas snapshot until one is present

0 comments on commit e724a8a

Please sign in to comment.