-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update CI to run on main * Still needs master
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 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,13 +1,13 @@ | ||
name: Run Tests | ||
|
||
on: | ||
# 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 | ||
push: | ||
branches: | ||
- master | ||
- main | ||
pull_request: | ||
branches: | ||
- master | ||
- main | ||
merge_group: | ||
|
||
permissions: | ||
|
@@ -29,7 +29,7 @@ jobs: | |
bundler-cache: true | ||
- name: Fetch grammar submodules | ||
run: | | ||
git fetch origin master:master v2.0.0:v2.0.0 test/attributes:test/attributes test/master:test/master | ||
git fetch origin main:main v2.0.0:v2.0.0 test/attributes:test/attributes test/master:test/master | ||
sed -i 's|[email protected]:|https://github.com/|' .gitmodules | ||
git submodule init | ||
git submodule sync --quiet | ||
|