add IsCacheSyncEnabled method to IMemcachedClient #173
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: Build & Test | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Setup .NET | |
uses: actions/[email protected] | |
with: | |
dotnet-version: 6.0.x | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install libmemcached-dev memcached | |
- name: Start memcached daemons | |
run: | | |
memcached -d -p 11211 | |
memcached -d -p 11212 | |
memcached -d -p 11213 | |
- name: Add memcached host to /etc/hosts | |
run: | | |
echo "127.0.0.1 memcached" | sudo tee -a /etc/hosts | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --no-restore | |
- name: Test | |
run: dotnet test --no-build --verbosity normal |