Skip to content

Commit 66fb16d

Browse files
committed
build/test
1 parent 9caf93c commit 66fb16d

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/build.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
name: build
3+
4+
on:
5+
- push
6+
- pull_request
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-24.04
11+
defaults:
12+
run:
13+
shell: /usr/bin/bash -l -e -o pipefail {0}
14+
steps:
15+
- name: checkout
16+
uses: actions/checkout@v4
17+
- name: savant setup
18+
run: |
19+
curl -O https://repository.savantbuild.org/org/savantbuild/savant-core/2.0.2/savant-2.0.2.tar.gz
20+
tar xzvf savant-2.0.2.tar.gz
21+
savant-2.0.2/bin/sb --version
22+
SAVANT_PATH=$(realpath -s "./savant-2.0.2/bin")
23+
echo "${SAVANT_PATH}" >> $GITHUB_PATH
24+
mkdir -p ~/.savant/plugins
25+
# For now, using the JDK that comes on the GHA runner
26+
cat << EOF > ~/.savant/plugins/org.savantbuild.plugin.java.properties
27+
17=${JAVA_HOME}
28+
EOF
29+
- name: run tests/integrate
30+
run: |
31+
sb clean int
32+
33+
# fusionauth-app integrates this repo and expects no changes
34+
- name: verify nothing has changed
35+
run: |
36+
git diff --exit-code

0 commit comments

Comments
 (0)