docs: Update docs and action.yml

This commit is contained in:
erezrokah 2023-06-02 14:56:37 +02:00
parent cb7e1d2c4a
commit 3c24beb7c8
No known key found for this signature in database
GPG key ID: EA610DCA9B4C557B
2 changed files with 3 additions and 2 deletions

View file

@ -181,7 +181,7 @@ jobs:
- uses: actions/setup-go@v4 - uses: actions/setup-go@v4
with: with:
go-version: "1.20" go-version: "1.20"
cache-key-prefix: build-cache- cache-key-prefix: build-cache
- run: go build - run: go build
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -190,7 +190,7 @@ jobs:
- uses: actions/setup-go@v4 - uses: actions/setup-go@v4
with: with:
go-version: "1.20" go-version: "1.20"
cache-key-prefix: test-cache- cache-key-prefix: test-cache
- run: go test ./... - run: go test ./...
``` ```

View file

@ -19,6 +19,7 @@ inputs:
description: 'Used to specify the path to a dependency file - go.sum' description: 'Used to specify the path to a dependency file - go.sum'
cache-key-prefix: cache-key-prefix:
description: 'A prefix to add to the cache key. Useful if you have multiple concurrent jobs that need different caches.' description: 'A prefix to add to the cache key. Useful if you have multiple concurrent jobs that need different caches.'
default: 'setup-go'
architecture: architecture:
description: 'Target architecture for Go to use. Examples: x86, x64. Will use system architecture by default.' description: 'Target architecture for Go to use. Examples: x86, x64. Will use system architecture by default.'
outputs: outputs: