Skip to content

Commit

Permalink
ci: Unify Quality control pipelines
Browse files Browse the repository at this point in the history
The testing and web app static-checking pipelines were moved into a single
github action file. This makes more logical sense. The jobs continue
to run in parallel; but this is a more coherent positioning for the files
  • Loading branch information
sayandcode committed Mar 29, 2024
1 parent 221fe60 commit e7c4ae1
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 46 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,46 @@
name: Web App Quality Check
name: Quality Check

on: pull_request
on:
pull_request:
types:
- opened
- synchronize
- reopened
- edited

jobs:
test-contracts:
name: Test contracts
env:
FOUNDRY_PROFILE: ci
defaults:
run:
working-directory: contracts
strategy:
fail-fast: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
sparse-checkout: contracts

- 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

build-typecheck-lint:
name: Build web app, typecheck and lint
runs-on: ubuntu-20.04
Expand Down
44 changes: 0 additions & 44 deletions .github/workflows/test-contracts.yml

This file was deleted.

0 comments on commit e7c4ae1

Please sign in to comment.