Skip to content

Merge pull request #11 from sysulq/dependabot/go_modules/gomod-normal… #49

Merge pull request #11 from sysulq/dependabot/go_modules/gomod-normal…

Merge pull request #11 from sysulq/dependabot/go_modules/gomod-normal… #49

Workflow file for this run

name: Go
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version: [stable, oldstable]
services:
redis:
image: redis
ports:
- 6379:6379
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.version }}
cache: true
- name: Test
run: go test -race -v ./... -coverprofile=coverage.out
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}