Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Wh1zz299 committed Sep 24, 2024
2 parents 6ef7b0f + 0d7e879 commit 1cd1a7e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@ name: CI

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the main branch.
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
on: [push]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand All @@ -31,8 +27,12 @@ jobs:
# Grant execute permission for gradlew
- name: Grant execute permission for gradlew
run: chmod +x gradlew

# Causes instant pull after commit but its ok were gonna forget
# to run spotless ever time if spotless check fails than ¯\_(ツ)_/¯
- name: Compile and run tests on robot code
run: ./gradlew spotlessApply

# Runs a single command using the runners shell
- name: Compile and run tests on robot code
run: ./gradlew build
spotless:
Expand Down

0 comments on commit 1cd1a7e

Please sign in to comment.