-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (43 loc) · 1.2 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
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-20241029@sha256:ecbe37b6809e651605e7a028441293eda51647e5e2cc80d599f55b39e6d727d6
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
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