* Updated Eastwood to 0.5.1 * Added set -Eeo pipefail to run-tests.sh (I don't like -x) * Run CI on PR * Add shellcheck to steps I'm not going to run Eastwood on tests at this point (see my comments in #334 for reasons).
26 lines
740 B
YAML
26 lines
740 B
YAML
name: Clojure CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
java: [ '8', '11', '14', '15', '16', '17-ea' ]
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Setup Java
|
|
uses: actions/setup-java@v1
|
|
with:
|
|
java-version: ${{ matrix.java }}
|
|
- name: Setup Clojure
|
|
uses: DeLaGuardo/setup-clojure@master
|
|
with:
|
|
tools-deps: '1.10.3.839'
|
|
- name: Lint test script
|
|
run: shellcheck run-tests.sh
|
|
- name: Run Tests
|
|
run: sh run-tests.sh all
|
|
- name: Check cljdoc.edn
|
|
run: curl -fsSL https://raw.githubusercontent.com/cljdoc/cljdoc/master/script/verify-cljdoc-edn | bash -s doc/cljdoc.edn
|