-
-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (27 loc) · 904 Bytes
/
updatecli_test.yaml
File metadata and controls
27 lines (27 loc) · 904 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
27
---
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@2cc8e6d8e356d76b0280cdd03766c36596a0614e" # v3.0.0
with:
version: "v0.115.0"
- name: "Set up Go"
uses: "actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c" # v6.4.0
with:
go-version-file: "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 }}