Skip to content

Upgrade dependency, typos and redundant type #4

Upgrade dependency, typos and redundant type

Upgrade dependency, typos and redundant type #4

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
workflow_call:
permissions:
contents: read
jobs:
setup:
name: CI
runs-on: ubuntu-latest
steps:
# https://github.com/marketplace/actions/checkout`
- name: Checkout Repo
uses: actions/checkout@v3
# https://github.com/marketplace/actions/setup-go-environment
- name: Set up Go 1.x >= 1.18
uses: actions/setup-go@v3
with:
go-version-file: go.mod
# requires go.sum file (i.e., external libraries)
cache: true
# https://github.com/marketplace/actions/run-golangci-lint#how-to-use
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
- name: go test
run: go test -v ./...