Skip to content

Bump the not-major group with 1 update #26

Bump the not-major group with 1 update

Bump the not-major group with 1 update #26

Workflow file for this run

name: Run Tests
on:
push:
branches:
- main
paths-ignore:
- "*.md"
pull_request:
paths-ignore:
- "*.md"
jobs:
test:
name: Test
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
go:
- stable
- oldstable
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- id: go-cache-paths
run: |
echo "::set-output name=go-build::$(go env GOCACHE)"
echo "::set-output name=go-mod::$(go env GOMODCACHE)"
- name: Go Build Cache
uses: actions/[email protected]
with:
path: ${{ steps.go-cache-paths.outputs.go-build }}
key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}
- name: Go Mod Cache
uses: actions/[email protected]
with:
path: ${{ steps.go-cache-paths.outputs.go-mod }}
key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}
- name: Run Tests
run: go test ./... -race -v -count=1