diff --git a/README.md b/README.md index b0e14e0..44a3c8f 100644 --- a/README.md +++ b/README.md @@ -181,7 +181,7 @@ jobs: - uses: actions/setup-go@v4 with: go-version: "1.20" - cache-key-prefix: build-cache- + cache-key-prefix: build-cache - run: go build test: runs-on: ubuntu-latest @@ -190,7 +190,7 @@ jobs: - uses: actions/setup-go@v4 with: go-version: "1.20" - cache-key-prefix: test-cache- + cache-key-prefix: test-cache - run: go test ./... ``` diff --git a/action.yml b/action.yml index 3633fc2..5744d8b 100644 --- a/action.yml +++ b/action.yml @@ -19,6 +19,7 @@ inputs: description: 'Used to specify the path to a dependency file - go.sum' cache-key-prefix: description: 'A prefix to add to the cache key. Useful if you have multiple concurrent jobs that need different caches.' + default: 'setup-go' architecture: description: 'Target architecture for Go to use. Examples: x86, x64. Will use system architecture by default.' outputs: