Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: update triggers, clean up #24

Merged
merged 1 commit into from
Sep 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 6 additions & 17 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,43 +3,32 @@ name: test
on:
workflow_dispatch:
pull_request:
types: [opened, reopened]
merge_group:
push:
branches: [main]

env:
FOUNDRY_PROFILE: ci

jobs:
check:
strategy:
fail-fast: true

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

- name: Setup Go
uses: actions/setup-go@v4

- uses: actions/setup-go@v4
- name: Install Geas
run: |
go install github.com/fjl/geas/cmd/geas@latest

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
run: go install github.com/fjl/geas/cmd/geas@latest
- uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

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

- name: Run Forge tests
run: |
./build-wrapper test -vvv
run: ./build-wrapper test -vvv
id: test
Loading