diff --git a/go-build/action.yml b/go-build/action.yml index b7d22cb..b4d8fb0 100644 --- a/go-build/action.yml +++ b/go-build/action.yml @@ -164,17 +164,7 @@ runs: go-version: ${{ steps.detect-go-version.outputs.detected-version }} cache: true - - name: Cache Go Dependencies - id: cache-go - uses: ivuorinen/actions/common-cache@0fa9a68f07a1260b321f814202658a6089a43d42 - with: - type: 'go' - paths: '~/go/pkg/mod' - key-files: 'go.mod,go.sum' - key-prefix: 'go-build' - - name: Download Dependencies - if: steps.cache-go.outputs.cache-hit != 'true' uses: step-security/retry@e1d59ce1f574b32f0915e3a8df055cfe9f99be5d # v3 with: timeout_minutes: 10 diff --git a/go-lint/action.yml b/go-lint/action.yml index c04d00e..76bcb7e 100644 --- a/go-lint/action.yml +++ b/go-lint/action.yml @@ -215,13 +215,13 @@ runs: with: token: ${{ inputs.token || github.token }} - - name: Set up Cache + - name: Cache golangci-lint id: cache if: inputs.cache == 'true' uses: ivuorinen/actions/common-cache@0fa9a68f07a1260b321f814202658a6089a43d42 with: type: 'go' - paths: '~/.cache/golangci-lint,~/.cache/go-build' + paths: '~/.cache/golangci-lint' key-prefix: 'golangci-${{ inputs.golangci-lint-version }}' key-files: 'go.sum,${{ inputs.config-file }}' restore-keys: '${{ runner.os }}-golangci-${{ inputs.golangci-lint-version }}-' diff --git a/language-version-detect/README.md b/language-version-detect/README.md index 0436820..0b5ac2c 100644 --- a/language-version-detect/README.md +++ b/language-version-detect/README.md @@ -28,7 +28,7 @@ This action is a `composite` action. ### Usage ```yaml -- uses: ivuorinen/actions/language-version-detect@v2025 +- uses: ivuorinen/actions/language-version-detect@main with: language: # Language to detect version for (php, python, go, dotnet)