This repository has been archived by the owner on Feb 7, 2024. It is now read-only.
Update dependency org.slf4j/log4j-over-slf4j to v2.0.10 #838
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: ci | |
on: | |
pull_request: | |
push: | |
branches: | |
- develop | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./etp-backend | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Prepare java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Install clojure tools | |
uses: DeLaGuardo/[email protected] | |
with: | |
cli: 1.11.1.1273 | |
- name: Build | |
run: clojure -M:uberjar | |
lint: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./etp-backend | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Prepare java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Install clojure tools | |
uses: DeLaGuardo/[email protected] | |
with: | |
cli: 1.11.1.1273 | |
- name: Lint | |
run: clojure -M:lint --fail-level error | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Prepare java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Install clojure tools | |
uses: DeLaGuardo/[email protected] | |
with: | |
cli: 1.11.1.1273 | |
- name: Install Libreoffice | |
run: sudo apt-get update && sudo apt-get install libreoffice | |
- name: Docker Compose | |
working-directory: docker | |
run: ./start.sh | |
- name: Test | |
working-directory: etp-backend | |
run: clojure -M:dev:test-ci | |
- name: Publish Test Report | |
uses: mikepenz/action-junit-report@v3 | |
if: success() || failure() | |
with: | |
report_paths: 'etp-backend/target/test.xml' |