@@ -11,7 +11,7 @@ concurrency:
11
11
12
12
jobs :
13
13
build :
14
- runs-on : ubuntu-latest
14
+ runs-on : ubuntu-22.04
15
15
environment : test-application
16
16
17
17
steps :
22
22
uses : actions/checkout@v3
23
23
with :
24
24
repository : Devolutions/actions
25
- ref : master
25
+ ref : v1
26
26
token : ${{ secrets.DEVOLUTIONSBOT_TOKEN }}
27
27
path : ./.github/workflows
28
28
@@ -31,15 +31,16 @@ jobs:
31
31
run : echo "version=$(cat VERSION)" >> $GITHUB_OUTPUT
32
32
33
33
- name : Does tag exists?
34
- uses : ./.github/workflows/tag-exists
34
+ uses : ./.github/workflows/tag-check
35
35
with :
36
+ github_token : ${{ secrets.DEVOLUTIONSBOT_TOKEN }}
36
37
tag : v${{ steps.get-version.outputs.version }}
37
- comment_on_pr_string : 🤖 You did not bump the version, a release won't be created ⚠️
38
38
39
39
- name : Setup Go environment
40
- uses : actions/setup-go@v3
40
+ uses : actions/setup-go@v4
41
41
with :
42
- go-version : ${{ secrets.GO_VERSION }}
42
+ go-version : ' 1.20'
43
+ check-latest : true
43
44
44
45
- uses : actions/cache@v3
45
46
with :
62
63
- name : Connect to Tailscale
63
64
uses : ./.github/workflows/tailscale
64
65
with :
65
- authKey : ${{ secrets.TAILSCALE_AUTH_KEY_EPHEMERAL }}
66
- exitNode : 100.99.49.20
67
- acceptDns : true
66
+ auth_key : ${{ secrets.TAILSCALE_AUTH_KEY_EPHEMERAL }}
67
+ exit_node : 100.99.49.20
68
+ accept_dns : true
68
69
69
70
- name : Test application
70
71
uses : ./.github/workflows/go-test
75
76
TEST_ENTRY_ID : ${{ secrets.TEST_ENTRY_ID }}
76
77
TEST_VAULT_ID : ${{ secrets.TEST_VAULT_ID }}
77
78
with :
78
- user : devolutionsbot
79
- token : ${{ secrets.DEVOLUTIONSBOT_TOKEN }}
79
+ github_token : ${{ secrets.DEVOLUTIONSBOT_TOKEN }}
0 commit comments