Skip to content

Merge pull request #12 from scality/bugfix/MD-989-tryNextSentinelsAft… #16

Merge pull request #12 from scality/bugfix/MD-989-tryNextSentinelsAft…

Merge pull request #12 from scality/bugfix/MD-989-tryNextSentinelsAft… #16

Workflow file for this run

name: Go
on:
push:
branches:
- v9.7
- bugfix/*
- improvement/*
pull_request:
branches: [v9.7]
permissions:
contents: read
jobs:
build:
name: build
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go-version: [1.19.x, 1.20.x, 1.21.x]
services:
redis:
image: redis/redis-stack-server:latest
options: >-
--health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5
ports:
- 6379:6379
steps:
- name: Set up ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v4
- name: Test
run: make test
- name: Upload to Codecov
uses: codecov/codecov-action@v4
with:
files: coverage.txt
token: ${{ secrets.CODECOV_TOKEN }}