forked from victoriadrake/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (36 loc) · 1.06 KB
/
htmlq.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
name: htmlq
on:
push:
paths:
- programs/htmlq/install.bash
- .github/workflows/htmlq.yml
schedule:
# Not at the start of an hour or a day to decreate the chance of delay.
# See schedule documentation.
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
- cron: "17 5 * * *"
workflow_dispatch:
jobs:
test_idempotent_installation:
strategy:
fail-fast: false
matrix:
os:
- "ubuntu:20.04"
- "ubuntu:22.04"
runs-on: ubuntu-latest
container:
image: "${{ matrix.os }}"
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Prepare Docker
run: ./scripts/prepare_docker.bash
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install htmlq
shell: su norm --command "bash --login {0}"
run: programs/htmlq/install.bash
- name: Install htmlq again (test idempotency)
shell: su norm --command "bash --login {0}"
run: programs/htmlq/install.bash