Fixed LockManager GetLockedLock not determining that locks are not in… #184
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: BuildTest | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go-version: [ '1.17', '1.19', '1.21', '1.22'] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install redis-cli | |
run: | | |
sudo apt-get update | |
sudo apt-get -y install redis | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Build | |
run: go build | |
- name: Test | |
run: ./run-tests |