Skip to content

Fix ChatGPT: refactor contract to work in the context of a confidential request #21

Fix ChatGPT: refactor contract to work in the context of a confidential request

Fix ChatGPT: refactor contract to work in the context of a confidential request #21

name: Check code snippets
on:
push:
branches:
- main
pull_request:
env:
FOUNDRY_PROFILE: ci
jobs:
check-code-snippets:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Install deps
run: forge install
- name: Validate code snippets in README
run: go run tools/stdchecker/main.go --root ./tools/stdchecker ./README.md