fix #36 by removing depstar references #56
Workflow file for this run
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: pull-request | |
on: | |
pull_request: | |
branches: [ main ] | |
paths: | |
- 'src/**' | |
- 'test/**' | |
- 'deps.edn' | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
tests: | |
strategy: | |
matrix: | |
namespace: [ unit ] | |
operating-system: [ubuntu-latest] | |
runs-on: ${{ matrix.operating-system }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Prepare java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'adopt' | |
java-version: '11' | |
- name: Install clojure tools-deps | |
uses: DeLaGuardo/setup-clojure@master | |
with: | |
tools-deps: 1.11.1.1113 | |
- name: Cache Maven packages | |
uses: actions/[email protected] | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-m2-tests-${{ hashFiles('**/deps.edn') }} | |
restore-keys: ${{ runner.os }}-m2-pr | |
- name: Execute ${{ matrix.namespace }} Test | |
run: clojure -M:test ${{ matrix.namespace }} | |
check-lint: | |
strategy: | |
matrix: | |
operating-system: [ubuntu-latest] | |
runs-on: ${{ matrix.operating-system }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Prepare java | |
uses: actions/[email protected] | |
with: | |
distribution: 'adopt' | |
java-version: '11' | |
- name: Install clojure tools-deps | |
uses: DeLaGuardo/setup-clojure@master | |
with: | |
tools-deps: 1.10.3.1053 | |
- name: Cache Maven packages | |
uses: actions/[email protected] | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-m2-tests-${{ hashFiles('**/deps.edn') }} | |
restore-keys: ${{ runner.os }}-m2 | |
- name: Execute lint checks | |
run: | | |
clojure -M:clojure-lsp format --dry | |
clojure -M:clojure-lsp clean-ns --dry | |
clojure -M:clojure-lsp diagnostics | |
security: | |
strategy: | |
matrix: | |
operating-system: [ubuntu-latest] | |
runs-on: ${{ matrix.operating-system }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: clj-holmes (Clojure) | |
uses: clj-holmes/clj-holmes-action@main | |
with: | |
output-type: 'stdout' | |
fail-on-result: 'true' |