Skip to content

Commit 35c4b0f

Browse files
authored
Polish GitHub Actions workflows (#152)
This documents what needs to stay in sync and locks the Ubuntu version. None of this should have any observable effect right now.
1 parent b64a2cd commit 35c4b0f

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: PR
22
on: pull_request
33
jobs:
44
test:
5-
runs-on: ubuntu-latest
5+
runs-on: ubuntu-22.04
66
steps:
77
- uses: actions/checkout@v3
88

.github/workflows/update_gh_pages.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
1+
# This needs to stay in sync with the results.yml workflow in results-analysis,
2+
# since both repos check out results-analysis and run the same code. This setup
3+
# is to avoid having a secret access token to allow a workflow in one repo to
4+
# push to the other repo.
15
name: Update gh-pages
26
on:
3-
# Trigger on every three hours, or manually.
7+
# Trigger every three hours, or manually.
48
schedule:
59
- cron: '20 */3 * * *'
610
workflow_dispatch:
711
jobs:
812
update-gh-pages:
9-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-22.04
1014
steps:
1115
- uses: actions/checkout@v3
1216

@@ -24,7 +28,7 @@ jobs:
2428
- name: Install dependencies
2529
run: npm ci
2630

27-
- name: Build app
31+
- name: Build
2832
run: ./build.sh
2933

3034
- name: Deploy to gh-pages/

0 commit comments

Comments
 (0)