Skip to content

Commit 41dfa10

Browse files
Enhance workflows and Upgrade micromatch Dependency (#510)
* Update workflows and bump dependencies * Add test for Go 1.22 and 1.23 * Update Go versions in local-cache setup and include macos-latest with ARM64 architecture
1 parent 9419772 commit 41dfa10

File tree

3 files changed

+38
-23
lines changed

3 files changed

+38
-23
lines changed

.github/workflows/release-new-action-version.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Update the ${{ env.TAG_NAME }} tag
25-
uses: actions/publish-action@v0.2.2
25+
uses: actions/publish-action@v0.3.0
2626
with:
2727
source-tag: ${{ env.TAG_NAME }}
2828
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}

.github/workflows/versions.yml

+33-18
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
os: [ubuntu-latest, windows-latest, macos-latest]
21+
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
2222
steps:
2323
- uses: actions/checkout@v4
2424
- name: Setup Go Stable
@@ -33,7 +33,7 @@ jobs:
3333
strategy:
3434
fail-fast: false
3535
matrix:
36-
os: [ubuntu-latest, windows-latest, macos-latest]
36+
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
3737
steps:
3838
- uses: actions/checkout@v4
3939
- name: Setup Go oldStable
@@ -48,12 +48,14 @@ jobs:
4848
strategy:
4949
fail-fast: false
5050
matrix:
51-
os: [ubuntu-latest, windows-latest, macos-latest]
51+
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
5252
version: [stable, oldstable]
5353
architecture: [x64, x32]
5454
exclude:
5555
- os: macos-latest
5656
architecture: x32
57+
- os: macos-13
58+
architecture: x32
5759
steps:
5860
- uses: actions/checkout@v4
5961
- name: Setup Go ${{ matrix.version }} ${{ matrix.architecture }}
@@ -70,8 +72,14 @@ jobs:
7072
strategy:
7173
fail-fast: false
7274
matrix:
73-
os: [macos-latest, windows-latest, ubuntu-latest]
74-
go: [1.20.14, 1.21.10, 1.22.3]
75+
os: [macos-latest, windows-latest, ubuntu-latest, macos-13]
76+
go: [1.21.13, 1.22.8, 1.23.2]
77+
include:
78+
- os: windows-latest
79+
go: 1.20.14
80+
exclude:
81+
- os: windows-latest
82+
go: 1.23.2
7583
steps:
7684
- name: Checkout
7785
uses: actions/checkout@v4
@@ -90,8 +98,8 @@ jobs:
9098
strategy:
9199
fail-fast: false
92100
matrix:
93-
os: [ubuntu-latest, windows-latest, macos-latest]
94-
go-version: [1.20.14, 1.21]
101+
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
102+
go-version: ['1.20', '1.21', '1.22', '1.23']
95103
steps:
96104
- uses: actions/checkout@v4
97105
- name: Setup Go and check latest
@@ -107,7 +115,7 @@ jobs:
107115
strategy:
108116
fail-fast: false
109117
matrix:
110-
os: [ubuntu-latest, windows-latest, macos-latest]
118+
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
111119
steps:
112120
- uses: actions/checkout@v4
113121
- name: Setup Go and check latest
@@ -123,7 +131,7 @@ jobs:
123131
strategy:
124132
fail-fast: false
125133
matrix:
126-
os: [ubuntu-latest, windows-latest, macos-latest]
134+
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
127135
steps:
128136
- uses: actions/checkout@v4
129137
- name: Setup Go and check latest
@@ -135,13 +143,12 @@ jobs:
135143
shell: bash
136144

137145
setup-versions-from-manifest:
138-
name: Setup ${{ matrix.go }} ${{ matrix.os }}
139146
runs-on: ${{ matrix.os }}
140147
strategy:
141148
fail-fast: false
142149
matrix:
143-
os: [macos-latest, windows-latest, ubuntu-latest]
144-
go: [1.20.14, 1.21.10, 1.22.3]
150+
os: [macos-latest, windows-latest, ubuntu-latest, macos-13]
151+
go: [1.20.14, 1.21.10, 1.22.8, 1.23.2]
145152
steps:
146153
- name: Checkout
147154
uses: actions/checkout@v4
@@ -156,13 +163,12 @@ jobs:
156163
shell: bash
157164

158165
setup-versions-from-dist:
159-
name: Setup ${{ matrix.go }} ${{ matrix.os }}
160166
runs-on: ${{ matrix.os }}
161167
strategy:
162168
fail-fast: false
163169
matrix:
164-
os: [macos-latest, windows-latest, ubuntu-latest]
165-
go: [1.20.14, 1.21]
170+
os: [windows-latest, ubuntu-latest, macos-13]
171+
go: [1.11.12]
166172
steps:
167173
- name: Checkout
168174
uses: actions/checkout@v4
@@ -181,14 +187,23 @@ jobs:
181187
strategy:
182188
fail-fast: false
183189
matrix:
184-
os: [ubuntu-latest, windows-latest, macos-latest]
185-
go-version: [1.20.14, 1.21]
190+
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
191+
go-version: [1.20.14, 1.21, 1.22, 1.23]
192+
include:
193+
- os: macos-latest
194+
architecture: arm64
195+
- os: ubuntu-latest
196+
architecture: x64
197+
- os: windows-latest
198+
architecture: x64
199+
- os: macos-13
200+
architecture: x64
186201
steps:
187202
- uses: actions/checkout@v4
188203
- name: Setup Go and check latest
189204
uses: ./
190205
with:
191206
go-version: ${{ matrix.go-version }}
192-
architecture: x64
207+
architecture: ${{ matrix.architecture }}
193208
- name: Verify Go
194209
run: go version

package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)