Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/compile-java.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: compile-java

on:
push:
branches-ignore: [ "Master" ]
pull_request:
branches: [ "Master" ]
jobs:
compile:
runs-on: ubuntu-latest

container: wpilib/roborio-cross-ubuntu:2024-22.04

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Compile Java
run: |
chmod +x ./gradlew
./gradlew build
shell: bash
31 changes: 31 additions & 0 deletions .github/workflows/super-linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This workflow executes several linters on changed files based on languages used in your code base whenever
# you push a code or open a pull request.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/github/super-linter
name: Lint Code Base

on:
push:
branches-ignore: [ "Master" ]
pull_request:
branches: [ "Master" ]
jobs:
run-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0

- name: Lint Code Base
uses: github/super-linter/slim@v5
env:
VALIDATE_ALL_CODEBASE: false
# If you set any VALIDATE_* to true, all others will be false
VALIDATE_JAVA: true
DEFAULT_BRANCH: "Master"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Empty file modified gradlew
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions src/main/java/frc/robot/Robot.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public void robotInit() {
// Instantiate our RobotContainer. This will perform all our button bindings, and put our
// autonomous chooser on the dashboard.
m_robotContainer = new RobotContainer();
System.out.println("Hello world"s);
}

/**
Expand Down