diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 17352ce2..294ced30 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -282,6 +282,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 acb22ef2..e83c8ba3 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -225,6 +225,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 2ca5824a..c001d96f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -239,6 +239,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 bed1cd75..f5058867 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: