Skip to content

Pickup go version from go.mod in CI #17

Pickup go version from go.mod in CI

Pickup go version from go.mod in CI #17

Workflow file for this run

name: Go
on:
push:
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...