Skip to content
Merged
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
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Gradle Build

on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
- name: Gradle Build
run: ./gradlew build
2 changes: 2 additions & 0 deletions src/main/kotlin/frc/robot/subsystems/DrivetrainSubsystem.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import edu.wpi.first.wpilibj2.command.SubsystemBase
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard
import frc.robot.Constants
import kotlin.math.IEEErem
import kotlin.math.abs
import kotlin.math.min

/**
* Drivetrain subsystem
Expand Down