Skip to content

Commit

Permalink
Bump the github-actions group with 7 updates (#301)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Jan 29, 2024
1 parent 021952e commit 88f0895
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 20 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
Expand All @@ -35,7 +35,7 @@ jobs:
echo "version=$VERSION-SNAPSHOT" >> $GITHUB_OUTPUT
fi
- name: Build, Test, Lint, Assemble, Publish Snapshot
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3
with:
# NB! The "lint" gradle action here is different than ktLint
arguments: lint build assembleDebug publish
Expand All @@ -47,12 +47,12 @@ jobs:
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.ARTIFACT_GPG_SIGNING_KEY }}
ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{ secrets.ARTIFACT_GPG_SIGNING_KEY_ID }}
- name: Archive SDK AAR
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: SDK AAR
path: lib/build/outputs/aar/lib-debug.aar
- name: Archive Sample App
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Sample App APK
path: sample/build/outputs/apk/debug/sample-debug.apk
Expand All @@ -61,7 +61,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- uses: actions/checkout@v3
- uses: musichin/ktlint-check@v2
- uses: actions/checkout@v4
- uses: musichin/ktlint-check@v3
with:
ktlint-version: "0.49.1"
8 changes: 4 additions & 4 deletions .github/workflows/build_app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
Expand All @@ -42,7 +42,7 @@ jobs:
fileDir: './sample'
encodedString: ${{ secrets.UPLOAD_KEYSTORE }}
- name: Assemble
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3
with:
arguments: bundleRelease
env:
Expand All @@ -58,7 +58,7 @@ jobs:
releaseFiles: sample/build/outputs/bundle/release/sample-release.aab
releaseName: Smile ID (Partner ${{ steps.write_smile_config.outputs.partner_id }})
- name: Send Slack
uses: slackapi/slack-github-action@v1.23.0
uses: slackapi/slack-github-action@v1.25.0
with:
payload: |
{
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish_play_store_update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# Fetch all history so that we can calculate the version code
with:
fetch-depth: 0
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
echo "Version Code for this build is $VERSION_CODE"
echo "version_code=$VERSION_CODE" >> $GITHUB_OUTPUT
- name: Assemble
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3
with:
arguments: bundleRelease
env:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release_sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# https://github.com/actions/checkout/issues/766
- name: Mark Git directory as Safe
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
tag: v${{ steps.read_version.outputs.version }}
message: Release v${{ steps.read_version.outputs.version }}
- name: Build, Test, Lint, and Publish
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3
with:
arguments: lint build assembleRelease publish
env:
Expand All @@ -82,12 +82,12 @@ jobs:
ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{ secrets.ARTIFACT_GPG_SIGNING_KEY_ID }}
ORG_GRADLE_PROJECT_uploadKeystorePassword: ${{ secrets.UPLOAD_KEYSTORE_PASSWORD }}
- name: Archive SDK AAR
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: SDK AAR
path: lib/build/outputs/aar/lib-release.aar
- name: Archive Sample App
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Sample App APK
path: sample/build/outputs/apk/release/sample-release.apk
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- uses: actions/stale@v7
- uses: actions/stale@v9
with:
stale-pr-message: 'This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
close-pr-message: 'This PR was closed because it has been stalled for 7 days with no activity.'
Expand Down

0 comments on commit 88f0895

Please sign in to comment.