Skip to content

Commit

Permalink
Merge pull request #71 from opendcs/devops/dependabot
Browse files Browse the repository at this point in the history
update github actions to target specific versions
  • Loading branch information
adamkorynta authored Dec 11, 2023
2 parents 4259279 + dd0e47f commit 1552fb9
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 13 deletions.
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,18 @@ updates:
update-types:
- "minor"
- "patch"
reviewers:
- "@opendcs/opendcs-core-devs"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
groups:
alldependencies:
patterns:
- "*"
update-types:
- "minor"
- "patch"
reviewers:
- "@opendcs/opendcs-core-devs"
14 changes: 7 additions & 7 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,24 @@ on:
jobs:
build:
name: Build, Test, and Analyze
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4.0.0
with:
java-version: 17
distribution: 'temurin'
- name: Cache SonarCloud packages
uses: actions/cache@v3
uses: actions/cache@v3.3.2
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache Gradle packages
uses: actions/cache@v3
uses: actions/cache@v3.3.2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
Expand All @@ -41,14 +41,14 @@ jobs:
- name: Bundle tarballs
run: ./gradlew bundle
- name: Upload WAR files
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3.1.3
with:
name: warfile
path: ./**/build/libs/*.war
retention-days: 1
if-no-files-found: error
- name: Upload Tarballs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3.1.3
with:
name: opendcs-rest-api-artifacts
path: ./**/build/distributions/*.tar.gz
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/java_compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ jobs:
build:
strategy:
matrix:
java: [ '8', '11', '17' ]
java: [ '8', '11', '17', '21' ]
fail-fast: false
max-parallel: 3
max-parallel: 4
name: Build on Java ${{ matrix.Java }}
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
- name: Cache Gradle packages
uses: actions/cache@v3
uses: actions/cache@v3.3.2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down

0 comments on commit 1552fb9

Please sign in to comment.