Add SECURITY.md file #81
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: Clojure CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test-clojure: | |
strategy: | |
matrix: | |
java-version: [8, 11] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ matrix.java-version }} | |
- name: Print java version | |
run: java -version | |
- name: setup git | |
run: git config --global user.email "[email protected]" && git config --global user.name "Your Name" | |
- name: Install clojure tools | |
uses: DeLaGuardo/[email protected] | |
with: | |
cli: 1.10.1.693 # Clojure CLI based on tools.deps | |
- name: Get dependencies | |
run: clojure -P | |
- name: Run cljfmt lint check | |
run: clojure -M:lint | |
- name: Run nsorg lint check | |
run: clojure -M:nsorg | |
- name: Run clj tests | |
run: clojure -M:test:test-runner |