Skip to content

Commit f2e2646

Browse files
authored
Update GitHub Actions workflows. (#402)
This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit e74fbeeec7b1a562d45502d94fca2dcae9cab776.
1 parent e129ba2 commit f2e2646

File tree

4 files changed

+24
-6
lines changed

4 files changed

+24
-6
lines changed

.github/workflows/master.yml

+7
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,13 @@ jobs:
286286
- license_check
287287
runs-on: ubuntu-latest
288288
steps:
289+
- name: Free Disk Space (Ubuntu)
290+
uses: jlumbroso/free-disk-space@main
291+
with:
292+
# this might remove tools that are actually needed,
293+
# if set to "true" but frees about 6 GB
294+
tool-cache: false
295+
swap-storage: false
289296
- name: Checkout Repo
290297
uses: actions/checkout@v4
291298
- name: Unshallow clone for tags

.github/workflows/prerelease.yml

+7
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,13 @@ jobs:
229229
- license_check
230230
runs-on: ubuntu-latest
231231
steps:
232+
- name: Free Disk Space (Ubuntu)
233+
uses: jlumbroso/free-disk-space@main
234+
with:
235+
# this might remove tools that are actually needed,
236+
# if set to "true" but frees about 6 GB
237+
tool-cache: false
238+
swap-storage: false
232239
- name: Checkout Repo
233240
uses: actions/checkout@v4
234241
- name: Unshallow clone for tags

.github/workflows/release.yml

+7
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,13 @@ jobs:
243243
- license_check
244244
runs-on: ubuntu-latest
245245
steps:
246+
- name: Free Disk Space (Ubuntu)
247+
uses: jlumbroso/free-disk-space@main
248+
with:
249+
# this might remove tools that are actually needed,
250+
# if set to "true" but frees about 6 GB
251+
tool-cache: false
252+
swap-storage: false
246253
- name: Checkout Repo
247254
uses: actions/checkout@v4
248255
- name: Unshallow clone for tags

.golangci.yml

+3-6
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,20 @@
22

33
linters:
44
enable:
5-
- deadcode
65
- errcheck
6+
- gci
77
- goconst
88
- gofmt
9-
- golint
109
- gosec
1110
- govet
1211
- ineffassign
13-
- interfacer
1412
- lll
1513
- megacheck
1614
- misspell
1715
- nakedret
18-
- structcheck
16+
- revive
1917
- unconvert
20-
- varcheck
21-
- gci
18+
- unused
2219
enable-all: false
2320
run:
2421
skip-files:

0 commit comments

Comments
 (0)