Skip to content

Commit

Permalink
Merge pull request #1369 from pjonsson/ci-errorprone
Browse files Browse the repository at this point in the history
CI: run spotless as part of build
  • Loading branch information
nfi authored Nov 17, 2023
2 parents fcd6865 + 8f7ba31 commit 29b1189
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,21 @@ jobs:
# Put Homebrew installed make first in PATH so "make" is version 4.x.
echo "export PATH=$HOMEBREW_PREFIX/opt/make/libexec/gnubin:$PATH" >> ~/.profile
echo "export PATH=$HOMEBREW_PREFIX/opt/make/libexec/gnubin:$PATH" >> ~/.bashrc
# The build step includes :spotlessJavaBuild.
- name: Build Cooja and Documentation
uses: gradle/gradle-build-action@v2
with:
gradle-version: 8.4
cache-read-only: false
arguments: jar -Perrorprone
arguments: build -Perrorprone
build-root-directory: contiki-ng/tools/cooja
# The Jar is important for MSPSim in Contiki-NG.
- name: Build Jar
uses: gradle/gradle-build-action@v2
with:
gradle-version: 8.4
cache-read-only: false
arguments: jar
build-root-directory: contiki-ng/tools/cooja
- name: Test MSPSim
uses: gradle/gradle-build-action@v2
Expand Down

0 comments on commit 29b1189

Please sign in to comment.