-
-
Notifications
You must be signed in to change notification settings - Fork 4
26 lines (26 loc) · 912 Bytes
/
updatecli_test.yaml
File metadata and controls
26 lines (26 loc) · 912 Bytes
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
name: Updatecli Test
on:
pull_request:
permissions:
contents: read
jobs:
updatecli:
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: "actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd" # v6.0.2
- name: "Setup updatecli"
uses: "updatecli/updatecli-action@4fd2c16d992120bd5355264a03ad0cddec013e1b" # v2.99.0
with:
version: "v0.113.0"
- name: "Set up Go"
uses: "actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5" # v6.2.0
with:
go-version-file: "quickstart/go.mod"
id: go
- name: "Test updatecli in dry-run mode"
run: "updatecli compose diff"
env:
# This step is executed in untrusted context. We use a GitHub token with minimal permissions.
UPDATECLI_GITHUB_USERNAME: ${{ github.actor }}
UPDATECLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}