Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

upgrade deps

upgrade deps #158

Workflow file for this run

name: Go
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- name: Set up Go 1.20
uses: actions/setup-go@v2
with:
go-version: '1.20'
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Get dependencies
run: go mod download -json
- name: go install staticcheck
run: go install honnef.co/go/tools/cmd/staticcheck@latest
- name: Build
run: go build -v ./...
- name: Test
run: go test ./...
- name: Vet
run: go vet ./...
- name: staticcheck
run: staticcheck ./...