actions: use another foundationdb action install (#32) #157
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] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: clojure:openjdk-17-tools-deps | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3.0.2 | ||
## This is optional but will speed up clojure steps | ||
- name: Cache mvn/git deps | ||
uses: actions/cache@v3 | ||
id: cache-deps | ||
with: | ||
path: | | ||
/root/.gitlibs | ||
/root/.m2 | ||
key: ${{ runner.os }}-${{ hashFiles('**/deps.edn') }} | ||
## The clojure tools-deps image has very little installed software, | ||
## install minimum requirements for the foundationdb one | ||
- name: Install curl | ||
run: | | ||
apt-get update | ||
apt-get -qyy install curl sudo | ||
- name: Install foundationdb | ||
uses: Clikengo/foundationdb-actions-install@v1.0.1 | ||
- name: Check | ||
run: clojure -T:project check | ||
- name: Test | ||
run: clojure -T:project test | ||
- name: Lint | ||
run: clojure -T:project lint | ||
- name: Format | ||
run: clojure -T:project format-check |