From 236fedb59401541d81df383a6bc21074e4df3f3a Mon Sep 17 00:00:00 2001 From: Daniel McCarney Date: Tue, 9 Apr 2024 09:21:19 -0400 Subject: [PATCH 1/4] ci: use actions/checkout@v4 throughout * v4 is the latest version * previously we used v3 in some places, and v4 in others --- .github/workflows/audit.yml | 2 +- .github/workflows/ci.yml | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 4802ff7d..bd423ed3 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -14,7 +14,7 @@ jobs: audit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false - uses: EmbarkStudios/cargo-deny-action@v1 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9ba1f2ba..0ef34d33 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: - macos-latest - windows-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false @@ -67,7 +67,7 @@ jobs: - macos-latest - windows-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false @@ -107,7 +107,7 @@ jobs: - macos-latest - windows-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false @@ -196,7 +196,7 @@ jobs: name: Rustfmt runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false @@ -210,7 +210,7 @@ jobs: name: Ktlint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false @@ -223,7 +223,7 @@ jobs: name: Verify Android artifacts runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false From d58cc590450568e1df5d576b654a2543aaf2c837 Mon Sep 17 00:00:00 2001 From: Daniel McCarney Date: Tue, 9 Apr 2024 09:21:46 -0400 Subject: [PATCH 2/4] ci: add dependabot config * configure for cargo updates * configure for github action updates --- .github/dependabot.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..e61eedee --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,15 @@ +version: 2 +updates: +- package-ecosystem: cargo + directory: "/" + schedule: + interval: weekly + open-pull-requests-limit: 5 + groups: + crates-io: + patterns: + - "*" +- package-ecosystem: github-actions + directory: "/" + schedule: + interval: weekly From 26f8271772cfcfed19eeddff094b467df5c43d53 Mon Sep 17 00:00:00 2001 From: Daniel McCarney Date: Tue, 9 Apr 2024 09:24:12 -0400 Subject: [PATCH 3/4] ci: setup-java v2 -> v4 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0ef34d33..e7ebd74e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -133,7 +133,7 @@ jobs: sudo udevadm trigger --name-match=kvm - name: Setup Java - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: '11' From 2c8245c6ab0fe8f1aea459e81ddcdb40c091f80c Mon Sep 17 00:00:00 2001 From: Daniel McCarney Date: Tue, 9 Apr 2024 09:24:52 -0400 Subject: [PATCH 4/4] ci: upload-artifacts v3 -> v4 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e7ebd74e..3e52a008 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -158,7 +158,7 @@ jobs: ./gradlew connectedDebugAndroidTest - name: Upload Android test results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 # Upload test results if they fail if: failure() with: