Skip to content

testing new branch protection #5

testing new branch protection

testing new branch protection #5

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
container: wpilib/roborio-cross-ubuntu:2024-22.04
steps:
- uses: actions/checkout@v4
# prevents Dubious Ownership err
- 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 +777 ./gradlew
working-directory: ./Team-3749-2024
# Runs a single command using the runners shell
- name: Compile and run tests on robot code
run: ./gradlew build
working-directory: ./Team-3749-2024