Skip to content

Merge pull request #146 from codecrafters-io/CC-1213-clojure-caching #696

Merge pull request #146 from codecrafters-io/CC-1213-clojure-caching

Merge pull request #146 from codecrafters-io/CC-1213-clojure-caching #696

Workflow file for this run

name: Test
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.21.x
# Required for tests
- name: Install Redis
run: |-
curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list
sudo apt-get update
sudo apt-get install redis
- name: "Stop redis service"
run: sudo service redis-server stop
- uses: actions/setup-python@v2
with:
python-version: "3.x" # Version range or exact version of a Python version to use, using SemVer's version range syntax
- run: make test
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.21.x
- uses: dominikh/staticcheck-action@v1.3.0
with:
version: "2023.1"
install-go: false