Skip to content

Commit b97028e

Browse files
authored
Create use_action.yml
1 parent ae91910 commit b97028e

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

.github/workflows/use_action.yml

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Use Action
2+
3+
on:
4+
push:
5+
branches:
6+
- 'master'
7+
8+
jobs:
9+
use-action:
10+
name: Use Action
11+
12+
strategy:
13+
matrix:
14+
platform:
15+
- ubuntu-latest
16+
- macos-latest
17+
18+
runs-on: ${{ matrix.platform }}
19+
20+
steps:
21+
- uses: actions/setup-go@v5
22+
with:
23+
go-version: 1.22
24+
25+
- uses: actions/checkout@v4
26+
27+
# Minimal publish
28+
- uses: mscno/setup-goose@main
29+
30+
- run: goose -version
31+
32+
- name: Install old release
33+
uses: mscno/setup-goose@main
34+
with:
35+
version: v3.15.0
36+
37+
- name: Check installed version
38+
run: goose -version | grep 3.15.0
39+
40+
- name: Install from tip
41+
uses: mscno/setup-goose@main
42+
with:
43+
version: tip
44+
45+
- name: Check installed version (tip)
46+
run: |
47+
goose -version

0 commit comments

Comments
 (0)