Skip to content

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

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

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

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/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}