Skip to content

Bump awalsh128/cache-apt-pkgs-action from 1.4.2 to 1.4.3 #146

Bump awalsh128/cache-apt-pkgs-action from 1.4.2 to 1.4.3

Bump awalsh128/cache-apt-pkgs-action from 1.4.2 to 1.4.3 #146

name: DB compatibility testing
on: [push, pull_request]
permissions:
contents: read
jobs:
valkey:
name: Valkey ${{ matrix.valkey-version }}
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
include:
- valkey-version: 8.0.1
- valkey-version: 7.2.5
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install redis-cli required by common tests
uses: awalsh128/cache-apt-pkgs-action@5902b33ae29014e6ca012c5d8025d4346556bd40 # v1.4.3
with:
packages: redis-server
version: 1.0
- name: Install Erlang/OTP
uses: erlef/setup-beam@5304e04ea2b355f03681464e683d92e3b2f18451 # v1.18.2
with:
otp-version: '26.2.4'
rebar3-version: '3.23.0'
- name: Build and run common tests
env:
SERVER_DOCKER_IMAGE: valkey/valkey:${{ matrix.valkey-version }}
run: |
rebar3 ct
redis:
name: Redis ${{ matrix.redis-version }}
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
include:
- redis-version: 7.2.4 # Last open source release
- redis-version: 7.0.15
- redis-version: 6.2.14
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install packages for common tests
uses: awalsh128/cache-apt-pkgs-action@5902b33ae29014e6ca012c5d8025d4346556bd40 # v1.4.3
with:
packages: redis-server faketime
version: 1.0
- name: Install Erlang/OTP
uses: erlef/setup-beam@5304e04ea2b355f03681464e683d92e3b2f18451 # v1.18.2
with:
otp-version: '26.2.4'
rebar3-version: '3.23.0'
- name: Build and run common tests
env:
SERVER_DOCKER_IMAGE: redis:${{ matrix.redis-version }}
run: |
rebar3 ct