diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml deleted file mode 100644 index bff578909..000000000 --- a/.github/workflows/docs.yaml +++ /dev/null @@ -1,27 +0,0 @@ -name: Build docs - -on: - push: - branches: - - main - -jobs: - publish: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Install Foundry - uses: foundry-rs/foundry-toolchain@v1 - with: - version: nightly - - name: Generate docs - run: forge doc -b - - name: Deploy to GitHub Pages - if: success() - uses: crazy-max/ghaction-github-pages@v3 - with: - target_branch: gh-pages - build_dir: docs/book - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/fn-selectors.yaml b/.github/workflows/fn-selectors.yaml deleted file mode 100644 index 3e8efa34a..000000000 --- a/.github/workflows/fn-selectors.yaml +++ /dev/null @@ -1,30 +0,0 @@ -name: Upload function selectors - -on: [push] - -env: - FOUNDRY_PROFILE: ci - -jobs: - check: - strategy: - fail-fast: true - - name: Upload function selectors - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - submodules: recursive - - - name: Install Foundry - uses: foundry-rs/foundry-toolchain@v1 - with: - version: nightly - - - name: Install deps - run: forge install --shallow - - - name: Upload function selectors - run: forge selectors up --all - id: selectors diff --git a/.github/workflows/slither.yaml b/.github/workflows/slither.yaml deleted file mode 100644 index 50d964610..000000000 --- a/.github/workflows/slither.yaml +++ /dev/null @@ -1,8 +0,0 @@ -name: Slither Analysis -on: [push] -jobs: - slither-analyze: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: crytic/slither-action@v0.3.0 diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml deleted file mode 100644 index 3979bd97d..000000000 --- a/.github/workflows/snapshot.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Gas snapshot - -on: [push] - -env: - FOUNDRY_PROFILE: ci - -jobs: - check: - strategy: - fail-fast: true - - name: Gas snapshot - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Install Foundry - uses: foundry-rs/foundry-toolchain@v1 - with: - version: nightly - - - name: Install Nix - uses: DeterminateSystems/nix-installer-action@v4 - - uses: DeterminateSystems/magic-nix-cache-action@v2 - - - name: Prepare repo - run: nix run - - - name: Check gas snapshots - run: forge snapshot --check - id: snapshot diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml deleted file mode 100644 index 9cf0bb35f..000000000 --- a/.github/workflows/test.yaml +++ /dev/null @@ -1,47 +0,0 @@ -name: Tests - -on: [push] - -env: - FOUNDRY_PROFILE: ci - -jobs: - check: - strategy: - fail-fast: true - - name: Tests - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Install Foundry - uses: foundry-rs/foundry-toolchain@v1 - with: - version: nightly - - - name: Forge version - run: forge --version - id: forge-version - - - name: Forge install shallow - run: forge install --shallow - id: forge-install-shallow - - - name: git status - run: git status - id: git-status - - - name: Run Forge fmt - run: forge fmt --check - id: fmt - - - name: Install Nix - uses: DeterminateSystems/nix-installer-action@v4 - - uses: DeterminateSystems/magic-nix-cache-action@v2 - - - name: Prepare repo - run: nix run - - - name: Run Forge tests - run: forge test -vvv --gas-report - id: test \ No newline at end of file