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

Setup dependabot

Setup dependabot #72

Workflow file for this run

name: ci
on:
push:
tags:
- v*
branches:
- main
pull_request:
jobs:
golangci:
name: golang lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.16
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.39
gomodtidy:
name: go mod tidy check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v1
with:
go-version: "1.16.x"
- run: go mod tidy
- run: git diff --exit-code -- go.mod go.sum
tests:
name: golang test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v1
with:
go-version: "1.16.x"
- run: go test -cover -race ./...