diff --git a/.github/workflows/deploy_google_play/action.yml b/.github/workflows/deploy_google_play/action.yml index 47518974c..f855e2426 100644 --- a/.github/workflows/deploy_google_play/action.yml +++ b/.github/workflows/deploy_google_play/action.yml @@ -67,7 +67,7 @@ runs: mv key.properties ${{ github.workspace }}/android/key.properties - name: ๐Ÿ“– Read app version - uses: NiklasLehnfeld/flutter-version-number-action@main + uses: NiklasLehnfeld/flutter-version-number-action@v1 id: read-version with: file-path: pubspec.yaml @@ -106,21 +106,21 @@ runs: zip -r ${{ github.workspace }}/symbols.zip ${{ github.workspace }}/build/app/outputs/symbols/ - name: ๐Ÿ“ Upload build artifacts (symbols) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: symbols path: | ${{ github.workspace }}/symbols.zip - name: ๐Ÿ“ Upload build artifacts (aab) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: sweyer@${{ steps.read-version.outputs.version-number }}.aab path: | ${{ github.workspace }}/build/app/outputs/bundle/release/sweyer@${{ steps.read-version.outputs.version-number }}.aab - name: ๐Ÿ“ Upload build artifacts (apk) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: sweyer@${{ steps.read-version.outputs.version-number }}.apk path: | diff --git a/.github/workflows/sweyer_release.yml b/.github/workflows/sweyer_release.yml index e9c2df69e..513b1f777 100644 --- a/.github/workflows/sweyer_release.yml +++ b/.github/workflows/sweyer_release.yml @@ -13,7 +13,7 @@ jobs: environment: prod steps: - name: ๐Ÿ“š Git Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: ๐Ÿงช Test Sweyer if: ${{ github.event.inputs.skip-tests == 'false' }} @@ -23,7 +23,9 @@ jobs: - name: โ˜‚ Upload Code Coverage if: ${{ github.event.inputs.skip-tests == 'false' }} - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - name: ๐Ÿš€๐Ÿค– Bundle and deploy to Google Play uses: ./.github/workflows/deploy_google_play diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 38ee219fd..50fe8b575 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: ๐Ÿ“š Git Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: ๐Ÿงช Test Sweyer uses: ./.github/workflows/test @@ -20,4 +20,6 @@ jobs: testing_arguments: --coverage - name: โ˜‚ Upload Code Coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/update_goldens.yml b/.github/workflows/update_goldens.yml index 27dc420bc..acd52268d 100644 --- a/.github/workflows/update_goldens.yml +++ b/.github/workflows/update_goldens.yml @@ -15,7 +15,7 @@ jobs: contents: write steps: - name: ๐Ÿ“š Git Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: ๐Ÿงช Test Sweyer uses: ./.github/workflows/test @@ -23,13 +23,13 @@ jobs: testing_arguments: --update-goldens - name: ๐Ÿ“ Save updated Golden test artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: golden-test-updated path: test/golden/goldens - name: ๐Ÿ’พ Commit updated Golden test artifacts - uses: stefanzweifel/git-auto-commit-action@v4 + uses: stefanzweifel/git-auto-commit-action@v5 if: github.event.inputs.commit == 'true' with: commit_message: ๐Ÿค– Update Golden test artifacts ๐Ÿค–