This repository has been archived by the owner on Feb 18, 2024. It is now read-only.
commiting untested vision code #38
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: Lint and Format | |
on: | |
push: | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
javaformat: | |
name: "Java Formatting" | |
runs-on: ubuntu-22.04 | |
container: wpilib/ubuntu-base:22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Fetch all history and metadata | |
run: | | |
git config --global --add safe.directory $GITHUB_WORKSPACE | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Run Java format | |
run: ./gradlew spotlessCheck |