Skip to content

Commit

Permalink
docs: Update docs and action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
erezrokah committed Jun 2, 2023
1 parent cb7e1d2 commit 3c24beb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 ./...
```

Expand Down
1 change: 1 addition & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3c24beb

Please sign in to comment.