Skip to content

Create dependabot.yml #19

Create dependabot.yml

Create dependabot.yml #19

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: test
on:
push:
branches: ['main']
pull_request:
branches: ['main']
jobs:
build:
runs-on: ubuntu-latest
services:
redis:
image: redis:latest
ports:
- 6379:6379
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.23.1'
- name: Test
run: go test -v -covermode=atomic -coverprofile=coverage.out -race -parallel=4 ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3