Skip to content

Commit

Permalink
Merge pull request #20 from Robocubs/workflow
Browse files Browse the repository at this point in the history
Added build
  • Loading branch information
mpulte authored Jan 24, 2024
2 parents a40dbce + 09a2168 commit 07faaa4
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Build

on:
push:
pull_request:
branches:
- main

jobs:
build:
name: Build
runs-on: ubuntu-22.04
container: wpilib/roborio-cross-ubuntu:2024-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Grant execute permission
run: chmod +x gradlew
- name: Check formatting
run: ./gradlew spotlessCheck
- name: Build and test
run: ./gradlew build

0 comments on commit 07faaa4

Please sign in to comment.