enhancement: Early return in Each method when no servers are available #28
Workflow file for this run
This file contains hidden or 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: Test | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| go-version: [ '1.18', '1.21' ] | |
| steps: | |
| - name: install memcached | |
| run: | | |
| sudo apt update | |
| sudo apt install memcached | |
| - uses: actions/checkout@v3 | |
| - name: Setup Go ${{ matrix.go-version }} | |
| uses: actions/setup-go@v4 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| - name: Test | |
| run: go test -v ./... |