Merge branch 'master' into dash8 #773
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: [push] | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '21' | |
- name: Install clojure tools | |
uses: DeLaGuardo/setup-clojure@12.5 | |
with: | |
cli: 'latest' | |
bb: 'latest' | |
- name: Cache clojure dependencies | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.m2/repository | |
~/.gitlibs | |
~/.deps.clj | |
~/.npm | |
.shadow-cljs | |
key: cljdeps-${{ hashFiles('deps.edn') }}-${{ hashFiles ('package.json') }}-${{ hashFiles ('package-lock.json') }} | |
restore-keys: cljdeps- | |
- name: Fix git dubious directory ownership error | |
run: git config --global --add safe.directory /__w/re-com/re-com | |
- run: bb ci | |
- run: bb build-report-ci | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: build-report | |
path: target/build-report.html | |
- name: Slack notification | |
uses: homoluctus/slatify@v2.0.1 | |
if: failure() || cancelled() | |
with: | |
type: ${{ job.status }} | |
job_name: re-com Tests | |
channel: '#oss-robots' | |
url: ${{ secrets.SLACK_WEBHOOK }} | |
commit: true | |
token: ${{ secrets.GITHUB_TOKEN }} |