File tree 2 files changed +178
-151
lines changed
2 files changed +178
-151
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ name: "CI"
27
27
on :
28
28
pull_request :
29
29
push :
30
+ # Comment out this section to enable testing of all branches.
30
31
# branches:
31
32
# - master
32
33
@@ -46,16 +47,11 @@ jobs:
46
47
47
48
- uses : actions/checkout@v2
48
49
49
- - name : Install sandbox script
50
- run : |
51
- curl -o $GITHUB_WORKSPACE/emacs-sandbox.sh \
52
- https://raw.githubusercontent.com/alphapapa/emacs-sandbox.sh/master/emacs-sandbox.sh
53
- chmod +x $GITHUB_WORKSPACE/emacs-sandbox.sh
54
- echo ::add-path::$GITHUB_WORKSPACE
55
- echo ::set-env name=SANDBOX_DIR::$(mktemp -d)
56
-
57
50
- name : Initialize sandbox
58
- run : ./makem.sh -vv --sandbox-dir=$SANDBOX_DIR --auto-install --install package-lint
51
+ run : |
52
+ SANDBOX_DIR=$(mktemp -d) || exit 1
53
+ echo ::set-env name=SANDBOX_DIR::$SANDBOX_DIR
54
+ ./makem.sh -vv --sandbox-dir=$SANDBOX_DIR --auto-install --install package-lint
59
55
60
56
# The "all" rule is not used, because it treats compilation warnings
61
57
# as failures, so linting and testing are run as separate steps.
You can’t perform that action at this time.
0 commit comments