Skip to content

feat: lint check on main #105

feat: lint check on main

feat: lint check on main #105

Workflow file for this run

name: Tests

Check failure on line 1 in .github/workflows/tests-merge.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/tests-merge.yml

Invalid workflow file

reusable workflows should be referenced at the top-level `jobs.*.uses' key, not within steps
on:
push:
branches:
- main
jobs:
test:
name: Foundry build n test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.READ_ONLY_PAT || github.token }}
- name: Run Foundry setup
uses: bgd-labs/github-workflows/.github/actions/foundry-setup@main
with:
FOUNDRY_VERSION: stable
- name: Run Prettier lint check
uses: bgd-labs/github-workflows/.github/workflows/foundry-lint-prettier.yml@main
- name: Run Forge tests
id: test
uses: bgd-labs/github-workflows/.github/actions/foundry-test@main
with:
FOUNDRY_PROFILE: ci