Skip to content

Commit 1f79632

Browse files
committed
Meta: Update makem.sh, test.yml
1 parent 16cb6ce commit 1f79632

File tree

2 files changed

+178
-151
lines changed

2 files changed

+178
-151
lines changed

.github/workflows/test.yml

+5-9
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ name: "CI"
2727
on:
2828
pull_request:
2929
push:
30+
# Comment out this section to enable testing of all branches.
3031
# branches:
3132
# - master
3233

@@ -46,16 +47,11 @@ jobs:
4647

4748
- uses: actions/checkout@v2
4849

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-
5750
- 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
5955
6056
# The "all" rule is not used, because it treats compilation warnings
6157
# as failures, so linting and testing are run as separate steps.

0 commit comments

Comments
 (0)