-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (45 loc) · 1.26 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: Test installer on Linux
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
schedule:
- cron: "0 0 * * SUN"
permissions: {}
defaults:
run:
shell: bash
jobs:
test-linux:
runs-on: ubuntu-24.04
timeout-minutes: 30
permissions:
contents: read # for checkout
container:
image: ghcr.io/risu729/dotfiles/wsl:24.04.20241212@sha256:e9d1d55675aed4bf01aaa15503e9ad5c2af500d05a4cc3fa3e35406839359710
steps:
- name: Run installer
# use head sha for pull requests because github.sha is set to the merge commit
# don't use process substitution to avoid masking the errors
run: |
curl -fsSL https://dot.risunosu.com/wsl?ref=${{
github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha
}} | bash
env:
GITHUB_TOKEN: ${{ github.token }}
actions-timeline:
needs:
- test-linux
if: ${{ !cancelled() }}
runs-on: ubuntu-24.04
timeout-minutes: 5
permissions:
actions: read # for actions-timeline
steps:
- name: actions-timeline
# cspell:ignore kesin
uses: Kesin11/actions-timeline@3046833d9aacfd7745c5264b7f3af851c3e2a619 # v2.2.1