feat: Auto detect the use of Podman from DOCKER_HOST #1124
Workflow file for this run
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: Redis example pipeline | |
on: | |
push: | |
paths-ignore: | |
- 'mkdocs.yml' | |
- 'docs/**' | |
- 'README.md' | |
pull_request: | |
paths-ignore: | |
- 'mkdocs.yml' | |
- 'docs/**' | |
- 'README.md' | |
concurrency: | |
group: "${{ github.workflow }}-${{ github.head_ref || github.sha }}" | |
cancel-in-progress: true | |
jobs: | |
test-redis: | |
strategy: | |
matrix: | |
go-version: [1.19.x, 1.x] | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go-version }} | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
- name: modVerify | |
working-directory: ./examples/redis | |
run: go mod verify | |
- name: modTidy | |
working-directory: ./examples/redis | |
run: make tools-tidy | |
- name: gotestsum | |
working-directory: ./examples/redis | |
run: make test-unit | |
- name: Run checker | |
run: | | |
./scripts/check_environment.sh | |
- name: Test Summary | |
uses: test-summary/action@4ee9ece4bca777a38f05c8fc578ac2007fe266f7 | |
with: | |
paths: "**/TEST-redis*.xml" | |
if: always() |