Replace redis.pipeline with multi #6
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: Linters | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- "*" | |
jobs: | |
linters: | |
name: Linters | |
runs-on: ubuntu-latest | |
steps: | |
- name: Download source | |
uses: actions/checkout@v3 | |
- name: Install Crystal | |
uses: crystal-lang/install-crystal@v1 | |
- name: Cache shards | |
uses: actions/cache@v2 | |
with: | |
path: lib | |
key: ${{ runner.os }}-shards-${{ hashFiles('**/shard.lock') }} | |
restore-keys: ${{ runner.os }}-shards- | |
- name: Install shards | |
run: shards update | |
- name: Run linter | |
run: bin/ameba |