Skip to content

Commit 3f03970

Browse files
committed
update workflows
1 parent c419b9a commit 3f03970

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

Diff for: .github/workflows/docker.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
concurrency:
1010
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1111
cancel-in-progress: true
12+
defaults:
13+
run:
14+
shell: bash
1215
jobs:
1316
build:
1417
name: 'Build image'
@@ -53,13 +56,10 @@ jobs:
5356
path: /tmp
5457
- name: Load server image
5558
run: docker load --input /tmp/lean4monaco.tar
56-
shell: bash
5759
- name: Start server
5860
run: docker run -dit -p 5173:5173 -p 8080:8080 lean4monaco
59-
shell: bash
6061
- name: Run tests (electron)
6162
uses: cypress-io/github-action@v6
6263
with:
6364
browser: electron
6465
wait-on: 'http://localhost:5173'
65-
shell: bash

Diff for: .github/workflows/test.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
concurrency:
1212
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1313
cancel-in-progress: true
14+
defaults:
15+
run:
16+
shell: bash
1417
jobs:
1518
test:
1619
strategy:
@@ -52,7 +55,6 @@ jobs:
5255
- name: Setup webkit (Linux)
5356
if: matrix.os == 'ubuntu-latest' && matrix.browser == 'webkit'
5457
run: npx playwright install-deps webkit
55-
shell: bash
5658
- uses: actions/checkout@v4
5759
with:
5860
submodules: true
@@ -71,13 +73,10 @@ jobs:
7173
curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf > elan-init.sh
7274
bash elan-init.sh -y
7375
echo "$(realpath ~/.elan/bin)" >> $GITHUB_PATH
74-
shell: bash
7576
- uses: actions/setup-node@v4
7677
- run: npm install
77-
shell: bash
7878
- run: npm run setup_demo
7979
if: matrix.os != 'windows-latest'
80-
shell: bash
8180
- name: Run tests
8281
if: matrix.os != 'windows-latest'
8382
uses: cypress-io/github-action@v6
@@ -88,4 +87,3 @@ jobs:
8887
- name: Run test (Windows)
8988
run: npm test
9089
if: matrix.os == 'windows-latest'
91-
shell: bash

0 commit comments

Comments
 (0)