Skip to content

Add dependabot yml

Add dependabot yml #66

Workflow file for this run

name: Go
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
test:
name: Build
runs-on: ubuntu-latest
env:
GO111MODULE: "on"
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22
id: go
- name: Get dependencies
run: go get -v -t -d ./...
- name: Build
run: go build -v .
- name: Test
run: go test ./... -v -cover -race -coverprofile=coverage.txt -covermode=atomic
- name: Upload coverage
uses: codecov/codecov-action@v4
with:
file: ./coverage.txt
verbose: true