Bumping current redis, testing multiple go versions in CI (#6) #11
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: Integration | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build_and_test: | |
name: Build and test | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
go-version: ['1.19.0', '1.20.0', '1.21.2'] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: ${{matrix.go-version}} | |
- name: install tools | |
run: sudo apt install -y make build-essential gcc redis-tools | |
- name: build | |
run: make | |
- name: test | |
run: make test | |
- name: test module load | |
run: | | |
docker build -t redicrypt:testing . | |
docker run -d -p 6379:6379 redicrypt:testing | |
redis-cli module list|grep redicrypt |