Skip to content

fix Makefile

fix Makefile #4

Workflow file for this run

name: build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
concurrency: ${{ github.ref }}
jobs:
build_and_test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.19', '1.20', '1.21' ]
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Display Go version
run: go version
- name: Install dependencies
run: go get -v ./...
- name: Build
run: go build -v ./...
- name: Test with the Go CLI
run: go test -v -cover ./...