Skip to content

use a default Go version (1.0) in absence of go.mod #570

use a default Go version (1.0) in absence of go.mod

use a default Go version (1.0) in absence of go.mod #570

Workflow file for this run

name: Test
on:
workflow_dispatch:
pull_request:
types: [opened, edited, synchronize, reopened]
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go-version:
- 1.21.x
- 1.22.x
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Set up Go
uses: actions/[email protected]
with:
go-version: ${{ matrix.go-version }}
cache: true
cache-dependency-path: '**/go.sum'
- name: Run tests
run: go test -race ./...