-
Notifications
You must be signed in to change notification settings - Fork 1
46 lines (38 loc) · 1.05 KB
/
actions.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
name: Workflows
on: [push, pull_request]
jobs:
shellcheck:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: Shellcheck Version Check
run: shellcheck -V
- name: Run ShellCheck
run: shellcheck mkRAMDisk.sh
mount-and-test:
runs-on: macos-14
steps:
- name: checkout
uses: actions/checkout@v4
- name: Goss downloaded cache
uses: actions/cache/restore@v4
with:
path: /tmp/dgoss
key: mkramdisk-goss
- name: Download Goss
run: |
curl -L https://raw.githubusercontent.com/goss-org/goss/master/extras/dgoss/dgoss \
-o /tmp/dgoss && \
chmod +x dgoss
- name: Store goss cache
uses: actions/cache/save@v4
with:
path: /tmp/dgoss
key: ansible-hayaworld-pip-cache
- name: Run mkRAMDisk.sh
run: |
./mkRAMDisk.sh
- name: Run goss
run: |
/tmp/dgoss