-
Notifications
You must be signed in to change notification settings - Fork 371
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
54 additions
and
54 deletions.
There are no files selected for viewing
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
.github/scripts/hygiene-preamble.sh → .github/scripts/common/hygiene-preamble.sh
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
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
case $GITHUB_EVENT_NAME in | ||
pull_request) | ||
BRANCH=$GITHUB_HEAD_REF | ||
;; | ||
push) | ||
BRANCH=${GITHUB_REF##*/} | ||
;; | ||
*) | ||
echo -e "Not handled event" | ||
BRANCH=master | ||
esac |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
.github/scripts/hygiene-main.sh → .github/scripts/main/hygiene.sh
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
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
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
2 changes: 1 addition & 1 deletion
2
.github/scripts/ocaml-cache.sh → .github/scripts/main/ocaml-cache.sh
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
2 changes: 1 addition & 1 deletion
2
.github/scripts/opam-bs-cache.sh → .github/scripts/main/opam-bs-cache.sh
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
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,3 +1,4 @@ | ||
. .github/scripts/common/preamble.sh | ||
|
||
CWD=$PWD | ||
CACHE=~/.cache | ||
|
@@ -18,18 +19,6 @@ OPAMBSSWITCH=opam-build | |
|
||
export OPAMCONFIRMLEVEL=unsafe-yes | ||
|
||
case $GITHUB_EVENT_NAME in | ||
pull_request) | ||
BRANCH=$GITHUB_HEAD_REF | ||
;; | ||
push) | ||
BRANCH=${GITHUB_REF##*/} | ||
;; | ||
*) | ||
echo -e "Not handled event" | ||
BRANCH=master | ||
esac | ||
|
||
git config --global user.email "[email protected]" | ||
git config --global user.name "Github Actions CI" | ||
git config --global gc.autoDetach false | ||
|
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,6 +1,6 @@ | ||
#!/bin/bash -xue | ||
|
||
. .github/scripts/preamble.sh | ||
. .github/scripts/main/preamble.sh | ||
|
||
export OCAMLRUNPARAM=b | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
.github/scripts/hygiene-scripts.sh → .github/scripts/scripts/hygiene.sh
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
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
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
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
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