Skip to content

Commit d08845e

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

File tree

4 files changed

+24
-6
lines changed

4 files changed

+24
-6
lines changed

.github/workflows/master.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,13 @@ jobs:
281281
- license_check
282282
runs-on: ubuntu-latest
283283
steps:
284+
- name: Free Disk Space (Ubuntu)
285+
uses: jlumbroso/free-disk-space@main
286+
with:
287+
# this might remove tools that are actually needed,
288+
# if set to "true" but frees about 6 GB
289+
tool-cache: false
290+
swap-storage: false
284291
- name: Checkout Repo
285292
uses: actions/checkout@v4
286293
- name: Unshallow clone for tags

.github/workflows/prerelease.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,13 @@ jobs:
224224
- license_check
225225
runs-on: ubuntu-latest
226226
steps:
227+
- name: Free Disk Space (Ubuntu)
228+
uses: jlumbroso/free-disk-space@main
229+
with:
230+
# this might remove tools that are actually needed,
231+
# if set to "true" but frees about 6 GB
232+
tool-cache: false
233+
swap-storage: false
227234
- name: Checkout Repo
228235
uses: actions/checkout@v4
229236
- name: Unshallow clone for tags

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,13 @@ jobs:
238238
- license_check
239239
runs-on: ubuntu-latest
240240
steps:
241+
- name: Free Disk Space (Ubuntu)
242+
uses: jlumbroso/free-disk-space@main
243+
with:
244+
# this might remove tools that are actually needed,
245+
# if set to "true" but frees about 6 GB
246+
tool-cache: false
247+
swap-storage: false
241248
- name: Checkout Repo
242249
uses: actions/checkout@v4
243250
- name: Unshallow clone for tags

.golangci.yml

Lines changed: 3 additions & 6 deletions
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)