Remove allow-newers #39
Workflow file for this run
This file contains hidden or 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: Code style check | |
concurrency: | |
group: formatting-${{ github.ref_name }} | |
cancel-in-progress: true | |
on: | |
push: | |
pull_request: | |
jobs: | |
formatting: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v31 | |
- name: Check code formatting | |
run: | | |
nix develop '#haskellFormatter' --command fourmolu --mode=check --check-idempotence servant servant-* |