Add support for stale directive for digest authenticator #125
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: Unit Tests | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- "*" | |
paths-ignore: | |
- "**.md" | |
pull_request: | |
jobs: | |
unit_tests: | |
name: Unit Tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
goversion: | |
- "1.20" | |
- "1.19" | |
- "1.18" | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v1 | |
with: | |
go-version: ${{ matrix.goversion }} | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v2 | |
- name: Get dependencies | |
run: go get ./... | |
- name: Run Unit Tests | |
run: go test -modfile=go_test.mod -v -cover -race ./... |