Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
CI: true

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Get Kotlin version
id: get-kotlin-version
run: |
echo "version=$(cat gradle/libs.versions.toml | grep -m1 kotlin | cut -d'=' -f2 - | tr -d ' "')" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
- uses: actions/cache@v5
with:
key: konan-${{ runner.os }}-${{ steps.get-kotlin-version.outputs.version }}
path: ~/.konan
Expand All @@ -31,7 +31,7 @@ jobs:
with:
distribution: temurin
java-version: 21
- uses: gradle/actions/setup-gradle@v5
- uses: gradle/actions/setup-gradle@v6
name: Setup Gradle
with:
gradle-version: wrapper
Expand All @@ -41,12 +41,12 @@ jobs:
run: ./gradlew check build -x detekt -Pdetekt.multiplatform.disabled=true --scan
- name: Upload test reports
if: ${{ failure() }} # runs only if previous step has failed, the entire workflow will still be marked as failed
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
with:
name: gradle-test-report
path: '**/build/reports/'
- name: Code coverage report
uses: codecov/codecov-action@v5
uses: codecov/codecov-action@v6
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ jobs:
name: Build and publish release
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Get Kotlin version
id: get-kotlin-version
run: |
echo "version=$(cat gradle/libs.versions.toml | grep -m1 kotlin | cut -d'=' -f2 - | tr -d ' "')" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
- uses: actions/cache@v5
with:
key: konan-${{ runner.os }}-${{ steps.get-kotlin-version.outputs.version }}
path: ~/.konan
Expand All @@ -33,7 +33,7 @@ jobs:
with:
distribution: temurin
java-version: 21
- uses: gradle/actions/setup-gradle@v5
- uses: gradle/actions/setup-gradle@v6
with:
gradle-version: wrapper
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
Expand Down
Loading