Skip to content

Merge pull request #66 from nabeken/github-renovate/actions-checkout-… #306

Merge pull request #66 from nabeken/github-renovate/actions-checkout-…

Merge pull request #66 from nabeken/github-renovate/actions-checkout-… #306

Workflow file for this run

name: Go
on:
- push
- pull_request
env:
# renovate: datasource=golang-version depName=golang
GO_VERSION: '1.21.3'
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4
with:
go-version: '${{ env.GO_VERSION }}'
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Build
run: go build -v ./...
- name: Test
run: go test -v -cover ./...