chore(deps): bump release-drafter/release-drafter from 5 to 6 #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Documentation Tests | |
on: | |
push: | |
branches: [master, examples] | |
pull_request: | |
branches: [master, examples] | |
permissions: | |
contents: read | |
jobs: | |
doctests: | |
name: doctests | |
runs-on: ubuntu-latest | |
services: | |
redis-stack: | |
image: redis/redis-stack-server:latest | |
options: >- | |
--health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5 | |
ports: | |
- 6379:6379 | |
strategy: | |
fail-fast: false | |
matrix: | |
go-version: [ "1.18", "1.19", "1.20" ] | |
steps: | |
- name: Set up ${{ matrix.go-version }} | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Test doc examples | |
working-directory: ./doctests | |
run: go test |