Skip to content

Configure Renovate

Configure Renovate #26

Workflow file for this run

---
name: Test
"on":
pull_request:
push:
branches:
- main
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
test:
strategy:
matrix:
clojure: ["1.10.3.849"]
erlang: ["24.x"]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.erlang }}
- uses: DeLaGuardo/setup-clojure@3.3
with:
cli: ${{ matrix.clojure }}
- name: Setup cljstyle
run: |
curl -sLO https://raw.githubusercontent.com/greglook/cljstyle/main/script/install-cljstyle
chmod +x install-cljstyle
sudo ./install-cljstyle
- name: Setup clj-kondo
run: |
curl -sLO https://raw.githubusercontent.com/clj-kondo/clj-kondo/master/script/install-clj-kondo
chmod +x install-clj-kondo
sudo ./install-clj-kondo
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
_build
key: ${{ runner.os }}-erl${{ matrix.erlang }}-${{ hashFiles('rebar.lock') }}
restore-keys: |
${{ runner.os }}-erl${{ matrix.erlang }}-
- uses: actions/cache@v2
with:
path: |
~/.m2
key: ${{ runner.os }}-clj-${{ hashFiles('deps.edn') }}
restore-keys: |
${{ runner.os }}-clj-
- name: Test
run: |
make test