Update PhonyUser.sol #57
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# foundry workflow | |
name: forge | |
on: | |
push: | |
paths: | |
- "**.sol" | |
pull_request: | |
types: [opened, reopened, synchronize, ready_for_review] | |
# On-demand | |
workflow_dispatch: {} | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
COMMIT_SHA: ${{ github.event.pull_request.head.sha }} | |
PULL_NUMBER: ${{ github.event.pull_request.number }} | |
RUN_ID: ${{ github.run_id }} | |
FORCE_COLOR: 2 | |
jobs: | |
workflow: | |
# User-definable name of this GitHub Actions job: | |
# If you are self-hosting, change the following `runs-on` value: | |
# <https://github.com/actions/runner-images/blob/releases/ubuntu22/20230710/README.md#available-images> | |
# <ubuntu-22.04:sha256:0bced47fffa3361afa981854fcabcd4577cd43cebbb808cea2b1f33a3dd7f508> | |
name: Foundry Pipeline | |
runs-on: ${{ matrix.os }} | |
permissions: | |
contents: read | |
# required for all workflows | |
security-events: write | |
# only required for workflows in private repositories | |
actions: read | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ['ubuntu-22.04'] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: extractions/setup-just@v1 | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Run Install | |
id: install | |
run: forge install | |
- name: Run Forge build | |
run: just dumpbuild | |
id: build | |
- name: Run Tests | |
id: test | |
run: just test | |
- name: Run Slither | |
uses: crytic/[email protected] | |
id: slither | |
with: | |
fail-on: all | |
slither-args: --compile-force-framework foundry --exclude-dependencies --checklist | |
solc-version: "0.8.19" |