Skip to content

Commit

Permalink
update workflows to use latest versions of deps
Browse files Browse the repository at this point in the history
  • Loading branch information
bitspittle committed Apr 12, 2024
1 parent b39d1b4 commit 3d7c28e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/coverage-badge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# Java 17 needed for resolving the Android Gradle Plugin
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3

- name: Cache Kotlin Native compiler
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.konan
key: kotlin-native-compiler-${{ runner.OS }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/gradle-test-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ jobs:
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# Java 17 needed for resolving the Android Gradle Plugin
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3

- name: Cache Kotlin Native compiler
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.konan
key: kotlin-native-compiler-${{ runner.OS }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,19 +76,19 @@ jobs:
)
run: echo "This workflow will run because the inputs are relevant to this machine."

- uses: actions/checkout@v3
- uses: actions/checkout@v4
if: steps.shouldrun.conclusion == 'success'

# Java 11 needed for resolving the Android Gradle Plugin
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
if: steps.shouldrun.conclusion == 'success'
with:
distribution: temurin
java-version: 11
java-version: 17

- name: Setup Gradle
if: steps.shouldrun.conclusion == 'success'
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3

- name: Add secret Gradle properties
if: steps.shouldrun.conclusion == 'success'
Expand All @@ -102,7 +102,7 @@ jobs:
- name: Cache Kotlin Native compiler
if: steps.shouldrun.conclusion == 'success'
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.konan
key: kotlin-native-compiler-${{ runner.OS }}
Expand Down

0 comments on commit 3d7c28e

Please sign in to comment.