feat: Configurable cache size in bytes to limit the amount of memory a cache can use #159
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Go | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ^1.18 | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Run tests | |
run: go test -race -shuffle on -timeout 1m -coverprofile=covprofile ./... | |
- name: Send coverage | |
uses: shogo82148/actions-goveralls@v1 | |
with: | |
path-to-profile: covprofile |