Skip to content

Make hook executable #1

Make hook executable

Make hook executable #1

name: Test and Deploy
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
strategy:
matrix:
jdk: [17]
clojure: [11]
name: Clojure ${{ matrix.clojure }} (Java ${{ matrix.jdk }})
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Java ${{ matrix.jdk }}
uses: actions/setup-java@v2.5.0
with:
distribution: zulu
java-version: ${{ matrix.jdk }}
cache: maven
- name: Setup Clojure
uses: DeLaGuardo/setup-clojure@master
with:
cli: latest
- name: Run tests
run: CLOJURE_ALIAS=clojure-${{ matrix.clojure }} bin/kaocha
deploy:
steps:

Check failure on line 32 in .github/workflows/test_and_deploy.yml

View workflow run for this annotation

GitHub Actions / Test and Deploy

Invalid workflow file

The workflow is not valid. .github/workflows/test_and_deploy.yml (Line: 32, Col: 5): Required property is missing: runs-on
- name: Checkout
uses: actions/checkout@v3
- name: Install SSH Key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Push
run: git push compass@compass.heartofclojure.eu/repo main:main