-
Notifications
You must be signed in to change notification settings - Fork 78
61 lines (46 loc) · 1.57 KB
/
test-argo-workflows.yaml
File metadata and controls
61 lines (46 loc) · 1.57 KB
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
55
56
57
58
59
60
61
name: test-argo-workflows
on:
pull_request:
paths:
- 'setup-argo-workflows/**'
- '.github/workflows/test-argo-workflows.yaml'
permissions: {}
jobs:
test_argo_workflows_action:
runs-on: 'ubuntu-latest'
permissions:
contents: read
name: Install Argo Workflows and test presence in path
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@5ef0c079ce82195b2a36a210272d6b661572d83e # v2.14.2
with:
egress-policy: audit
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Install Kind
uses: chainguard-dev/actions/setup-kind@eab208ef2d05b13404296a5e194a6b237e8bb213 # v1.6.4
- name: Install Argo Workflows
uses: ./setup-argo-workflows
- name: Check install!
run: argo lint --help
test_argo_cli_only:
runs-on: 'ubuntu-latest'
permissions:
contents: read
name: Install Argo CLI only and test presence in path
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@5ef0c079ce82195b2a36a210272d6b661572d83e # v2.14.2
with:
egress-policy: audit
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Install Argo Workflows
uses: ./setup-argo-workflows
with:
install-argo-cli-only: 'true'
- name: Check install!
run: argo lint --help