Skip to content

ci(#348): add fourmolu check to CI #778

ci(#348): add fourmolu check to CI

ci(#348): add fourmolu check to CI #778

Workflow file for this run

name: Validate
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
validate:

Check failure on line 19 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Validate

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 19, Col: 3): Error calling workflow 'geniusyield/atlas/.github/workflows/haskell.yml@b0e71df643aa9d87db4aa2fdc9da1d1224643f9d'. The workflow is requesting 'contents: write', but is only allowed 'contents: read'.
uses: ./.github/workflows/haskell.yml
secrets: inherit
deploy-haddock:
runs-on: ubuntu-latest
needs: validate
if: github.ref == 'refs/heads/main'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2