From 425beae7001fb0acc7cd733e2b46b414593a8d17 Mon Sep 17 00:00:00 2001 From: Pulumi Bot <30351955+pulumi-bot@users.noreply.github.com> Date: Thu, 22 Feb 2024 22:19:59 -0800 Subject: [PATCH] Update GitHub Actions workflows. (#323) This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit e74fbeeec7b1a562d45502d94fca2dcae9cab776. --- .github/workflows/master.yml | 7 +++++++ .github/workflows/prerelease.yml | 7 +++++++ .github/workflows/release.yml | 7 +++++++ .golangci.yml | 9 +++------ 4 files changed, 24 insertions(+), 6 deletions(-) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 172e5bf0..eec87a4d 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -281,6 +281,13 @@ jobs: - license_check runs-on: ubuntu-latest steps: + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + with: + # this might remove tools that are actually needed, + # if set to "true" but frees about 6 GB + tool-cache: false + swap-storage: false - name: Checkout Repo uses: actions/checkout@v4 - name: Unshallow clone for tags diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index c4f1d9c5..c444a0fb 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -224,6 +224,13 @@ jobs: - license_check runs-on: ubuntu-latest steps: + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + with: + # this might remove tools that are actually needed, + # if set to "true" but frees about 6 GB + tool-cache: false + swap-storage: false - name: Checkout Repo uses: actions/checkout@v4 - name: Unshallow clone for tags diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 110bd13b..eeb08d27 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -238,6 +238,13 @@ jobs: - license_check runs-on: ubuntu-latest steps: + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + with: + # this might remove tools that are actually needed, + # if set to "true" but frees about 6 GB + tool-cache: false + swap-storage: false - name: Checkout Repo uses: actions/checkout@v4 - name: Unshallow clone for tags diff --git a/.golangci.yml b/.golangci.yml index 85c60477..0f14b232 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -2,23 +2,20 @@ linters: enable: - - deadcode - errcheck + - gci - goconst - gofmt - - golint - gosec - govet - ineffassign - - interfacer - lll - megacheck - misspell - nakedret - - structcheck + - revive - unconvert - - varcheck - - gci + - unused enable-all: false run: skip-files: