mirror of
https://github.com/redis/go-redis.git
synced 2025-09-11 18:10:43 +03:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
44 lines
815 B
YAML
44 lines
815 B
YAML
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: redislabs/client-libs-test:8.0.2
|
|
env:
|
|
TLS_ENABLED: no
|
|
REDIS_CLUSTER: no
|
|
PORT: 6379
|
|
ports:
|
|
- 6379:6379
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
go-version: ["1.24"]
|
|
|
|
steps:
|
|
- name: Set up ${{ matrix.go-version }}
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version: ${{ matrix.go-version }}
|
|
|
|
- name: Checkout code
|
|
uses: actions/checkout@v5
|
|
|
|
- name: Test doc examples
|
|
working-directory: ./doctests
|
|
run: make test
|