Skip to content

Commit

Permalink
Update workflows, add dependabot.
Browse files Browse the repository at this point in the history
  • Loading branch information
io7m committed Apr 21, 2024
1 parent 7a76a5e commit 6a55f4a
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 13 deletions.
18 changes: 18 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

version: 2

updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"

- package-ecosystem: "maven"
directory: "/"
schedule:
interval: "weekly"

target-branch: "develop"
ignore:
- dependency-name: "*"
update-types: [ "version-update:semver-major" ]
12 changes: 9 additions & 3 deletions .github/workflows/main.linux.temurin.current.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,17 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 19
java-version: 22
distribution: 'temurin'
- name: Build
run: mvn --errors clean verify site
- name: Upload test logs
uses: actions/upload-artifact@v4
if: always()
with:
name: test-logs
path: ./com.io7m.chione.tests/target/surefire-reports
17 changes: 13 additions & 4 deletions .github/workflows/main.linux.temurin.lts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,21 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 17
java-version: 21
distribution: 'temurin'
- name: Build
run: mvn --errors clean verify site

- name: Upload test logs
uses: actions/upload-artifact@v4
if: always()
with:
name: test-logs
path: ./com.io7m.chione.tests/target/surefire-reports
- name: Coverage
uses: codecov/codecov-action@v3
with:
file: com.io7m.chione.tests/target/site/jacoco-aggregate/jacoco.xml
12 changes: 9 additions & 3 deletions .github/workflows/main.windows.temurin.current.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,17 @@ jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 19
java-version: 22
distribution: 'temurin'
- name: Build
run: mvn --errors clean verify site
- name: Upload test logs
uses: actions/upload-artifact@v4
if: always()
with:
name: test-logs
path: ./com.io7m.chione.tests/target/surefire-reports
12 changes: 9 additions & 3 deletions .github/workflows/main.windows.temurin.lts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,17 @@ jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 17
java-version: 21
distribution: 'temurin'
- name: Build
run: mvn --errors clean verify site
- name: Upload test logs
uses: actions/upload-artifact@v4
if: always()
with:
name: test-logs
path: ./com.io7m.chione.tests/target/surefire-reports

0 comments on commit 6a55f4a

Please sign in to comment.