Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ci): remove PR formatting, rename build action #22

Merged
merged 3 commits into from
Jan 27, 2024
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
2 changes: 0 additions & 2 deletions .github/workflows/google-code-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ name: Format code
on:
push:
branches: [ prod, staging ]
pull_request:
branches: [ main, staging ]

jobs:

Expand Down
36 changes: 21 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This is a basic workflow to build robot code.

name: CI
name: Build Robot Code

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the main branch.
Expand All @@ -22,17 +22,23 @@ jobs:

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4

# Declares the repository safe and not under dubious ownership.
- name: Add repository to git safe directories
run: git config --global --add safe.directory $GITHUB_WORKSPACE

# Grant execute permission for gradlew
- name: Grant execute permission for gradlew
run: chmod +x gradlew

# Runs a single command using the runners shell
- name: Compile and run tests on robot code
run: ./gradlew build
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4

# Declares the repository safe and not under dubious ownership.
- name: Add repository to git safe directories
run: git config --global --add safe.directory $GITHUB_WORKSPACE

# Grant execute permission for gradlew
- name: Grant execute permission for gradlew
run: chmod +x gradlew

# Setup Gradle to generate and submit dependency graphs
- name: Setup Gradle to generate and submit dependency graphs
uses: gradle/actions/setup-gradle@v3-beta
with:
dependency-graph: generate-and-submit

# Runs a single command using the runners shell
- name: Compile and run tests on robot code
run: ./gradlew build
22 changes: 22 additions & 0 deletions vendordeps/yagsl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"fileName": "yagsl.json",
"name": "YAGSL",
"version": "2024.4.6",
"frcYear": "2024",
"uuid": "1ccce5a4-acd2-4d18-bca3-4b8047188400",
"mavenUrls": [
"https://broncbotz3481.github.io/YAGSL-Lib/yagsl/repos"
],
"jsonUrl": "https://broncbotz3481.github.io/YAGSL-Lib/yagsl/yagsl.json",
"javaDependencies": [
{
"groupId": "swervelib",
"artifactId": "YAGSL-java",
"version": "2024.4.6"
}
],
"jniDependencies": [
],
"cppDependencies": [
]
}
Loading