Streaming events #294
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
name: Check code weeds | |
on: | |
# We're using merge-chains; so this needs to run then. | |
merge_group: | |
pull_request: | |
jobs: | |
weeder: | |
name: Check code weeds | |
runs-on: ubuntu-latest | |
steps: | |
- name: 📥 Checkout repository | |
uses: actions/checkout@v4 | |
- name: ❄ Setup Nix/Cachix | |
uses: ./.github/actions/nix-cachix-setup | |
with: | |
authToken: '${{ secrets.CACHIX_CARDANO_SCALING_AUTH_TOKEN }}' | |
- name: 📐 Check weeder | |
run: | | |
nix develop --command -- bash -c "cabal update" | |
nix develop --command -- bash -c "cabal build all" | |
nix develop --command -- bash -c "weeder --require-hs-files" |