Skip to content

Updated formatting

Updated formatting #3

Workflow file for this run

name: CI
on:
push:
branches:
- main
jobs:
day1:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'
java-package: jdk
architecture: x64
check-latest: false
overwrite-settings: true
job-status: success
- name: Build with Gradle
run: ./gradlew build
- name: Run Day 1 Tests
run: ./gradlew test --tests "*Day01Test*"
- name: JUnit Report Action
uses: mikepenz/action-junit-report@v5
with:
report_paths: '**/build/test-results/test/*.xml'
day2:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'
java-package: jdk
architecture: x64
check-latest: false
overwrite-settings: true
job-status: success
- name: Build with Gradle
run: ./gradlew build
- name: Run Day 2 Tests
run: ./gradlew test --tests "*Day02Test*"
- name: JUnit Report Action
uses: mikepenz/action-junit-report@v5
with:
report_paths: '**/build/test-results/test/*.xml'
# Add more jobs for additional days as needed