forked from kowainik/learn4haskell
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[kowainik#336] Use default main branch (kowainik#337)
Resolves kowainik#336
- Loading branch information
Showing
1 changed file
with
7 additions
and
7 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: | ||
build: | ||
|
@@ -17,7 +17,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/[email protected] | ||
name: Setup Haskell | ||
|
@@ -44,7 +44,7 @@ jobs: | |
ghc: ["8.10.2"] | ||
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/[email protected] | ||
name: Setup Haskell | ||
|
@@ -80,7 +80,7 @@ jobs: | |
ghc: ["8.10.2"] | ||
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/[email protected] | ||
name: Setup Haskell | ||
|
@@ -116,7 +116,7 @@ jobs: | |
ghc: ["8.10.2"] | ||
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/[email protected] | ||
name: Setup Haskell | ||
|
@@ -143,7 +143,7 @@ jobs: | |
ghc: ["8.10.2"] | ||
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/[email protected] | ||
name: Setup Haskell | ||
|