Skip to content

Commit 1561bea

Browse files
committed
Merge branch 'reusable-sync-stacktodate-workflow'
2 parents a94c476 + b8acb0f commit 1561bea

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

.github/workflows/sync-stacktodate.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,11 @@ jobs:
88
sync-stacktodate:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v4
12-
13-
- name: Set up Go
14-
uses: actions/setup-go@v4
15-
with:
16-
go-version: '1.25'
17-
18-
- name: Download dependencies
19-
run: go mod download
20-
21-
- name: Build stacktodate
22-
run: go build -o stacktodate
11+
- name: Download stacktodate binary
12+
run: |
13+
VERSION="latest"
14+
curl -sL https://github.com/stacktodate/stacktodate-cli/releases/download/${VERSION}/stacktodate-linux-amd64 -o stacktodate
15+
chmod +x stacktodate
2316
2417
- name: Check stacktodate config
2518
run: ./stacktodate check

0 commit comments

Comments
 (0)