diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9a6cd47..2351a48 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,10 +1,10 @@ name: CI -# Trigger the workflow on push or pull request, but only for the master branch +# Trigger the workflow on push or pull request, but only for the main branch on: pull_request: push: - branches: [master] + branches: [main] jobs: cabal: @@ -32,7 +32,7 @@ jobs: steps: - uses: actions/checkout@v2 - if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/master' + if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/main' - uses: actions/setup-haskell@v1.1 id: setup-haskell-cabal @@ -66,7 +66,7 @@ jobs: steps: - uses: actions/checkout@v2 - if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/master' + if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/main' - uses: actions/setup-haskell@v1.1 name: Setup Haskell Stack