use the right header for cache control #5
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: Unit Tests | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- "*" | |
paths-ignore: | |
- "**.md" | |
pull_request: | |
branches: | |
- "*" | |
paths-ignore: | |
- "**.md" | |
jobs: | |
tests: | |
name: Unit Tests | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- windows-latest | |
- ubuntu-latest | |
- macos-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ^1.21 | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Run Tests | |
run: go test -v -timeout 30s -covermode atomic ./... |