This commit is contained in:
kayos@tcp.direct 2022-10-16 02:23:41 -07:00
parent d5c756fd15
commit 00cb75cc61
Signed by: kayos
GPG Key ID: 4B841471B4BEE979
2 changed files with 30 additions and 0 deletions

11
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "gomod" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"

19
.github/workflows/go.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: go-vet
on:
push:
branches: [ "master", "dev" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: vet
run: go vet ./...
- name: test
run: go test -v ./...