Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

Merge pull request #135 from square/dependabot/go_modules/github.com/… #91

Merge pull request #135 from square/dependabot/go_modules/github.com/…

Merge pull request #135 from square/dependabot/go_modules/github.com/… #91

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.18
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Get dependencies
run: go mod download
- name: Run tests
run: go test -v ./...
- name: Build binaries
run: go build -o . ./...
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v2