Skip to content

fix workflow file

fix workflow file #4

Workflow file for this run

name: "tests"
on:
push:
pull_request:
jobs:
lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with: { version: latest }
test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Print system information
run: cat /proc/{meminfo,cpuinfo}
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Install dependencies
run: go get .
- name: Build
run: go build -v ./...
- name: Test with the Go CLI
run: make test