Skip to content

Commit

Permalink
Merge pull request #441 from ClemsonRSRG/dependabot-target-branch
Browse files Browse the repository at this point in the history
Set the default target branch to "main"
  • Loading branch information
yushan87 authored May 13, 2024
2 parents 67fc69f + 98a1adc commit 3c73185
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
3 changes: 2 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ updates:
schedule:
interval: daily
time: "10:00"
target-branch: "main"
open-pull-requests-limit: 10
reviewers:
- yushan87
labels:
- dependencies
- dependencies
28 changes: 14 additions & 14 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,24 @@ name: RESOLVE (Custom Java CI with Maven)

on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]

jobs:
# This job checks that our Java files have the proper license header.
check_license:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'
- name: Cache Maven packages
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand All @@ -35,14 +35,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'
- name: Cache Maven packages
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand All @@ -56,17 +56,17 @@ jobs:
strategy:
matrix:
java-dist: [ 'corretto', 'liberica', 'microsoft', 'temurin', 'semeru', 'zulu' ]
java: [ '11', '17' ]
java: [ '11', '17', '21' ]

steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
- uses: actions/checkout@v4
- name: Set up Java JDK
uses: actions/setup-java@v4
with:
distribution: ${{ matrix.java-dist }}
java-version: ${{ matrix.java }}
- name: Cache Maven packages
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down Expand Up @@ -163,4 +163,4 @@ jobs:
# "${GITHUB_WORKSPACE}/bin/runProveTests"
#
# # Delete temporary folder
# rm -rf "${GITHUB_WORKSPACE}/temp"
# rm -rf "${GITHUB_WORKSPACE}/temp"

0 comments on commit 3c73185

Please sign in to comment.