Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

Bump get-func-name from 2.0.0 to 2.0.2 in /lib/shipyard-core/lib/openzeppelin-contracts #10

Bump get-func-name from 2.0.0 to 2.0.2 in /lib/shipyard-core/lib/openzeppelin-contracts

Bump get-func-name from 2.0.0 to 2.0.2 in /lib/shipyard-core/lib/openzeppelin-contracts #10

Workflow file for this run

name: Forge Linting
on:
push:
branches: [main]
tags: ["*"]
pull_request:
types: [opened, reopened, synchronize]
env:
FOUNDRY_PROFILE: ci
jobs:
check:
strategy:
fail-fast: true
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Lint
run: |
echo "Running forge fmt --check"
if ! forge fmt --check; then
echo "The linting check failed. You can fix it locally with 'forge fmt' and then push, or you can have a GitHub action take care of it for you by commenting '!fix' on the PR."
exit 1
fi