Skip to content

Commit

Permalink
added spotless to the CI job thing
Browse files Browse the repository at this point in the history
  • Loading branch information
PGgit08 committed Nov 16, 2024
1 parent 94d321f commit ee43af0
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
branches: [ main ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
Expand All @@ -28,3 +27,18 @@ jobs:
# Runs a single command using the runners shell
- name: Compile and run tests on robot code
run: ./gradlew build

spotless:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
- run: ./gradlew spotlessCheck

0 comments on commit ee43af0

Please sign in to comment.