mirror of https://github.com/AMT-Cheif/drift.git
Upgrade actions dependencies
This commit is contained in:
parent
b83eea46fe
commit
92a01775e8
|
@ -13,7 +13,7 @@ runs:
|
|||
|
||||
# Setup sqlite3
|
||||
- name: Download sqlite3
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: sqlite3
|
||||
path: /tmp/sqlite/out/
|
||||
|
@ -28,7 +28,7 @@ runs:
|
|||
shell: bash
|
||||
|
||||
# Setup Dart packages
|
||||
- uses: actions/cache@v3
|
||||
- uses: actions/cache@v4
|
||||
with:
|
||||
path: "${{ env.PUB_CACHE }}"
|
||||
key: dart-dependencies-${{ inputs.dart_version }}-${{ hashFiles('**/pubspec.yaml') }}
|
||||
|
|
|
@ -22,7 +22,7 @@ jobs:
|
|||
working-directory: docs
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./.github/actions/prepare
|
||||
with:
|
||||
dart_version: ${{ needs.setup.outputs.dart_version }}
|
||||
|
@ -76,7 +76,7 @@ jobs:
|
|||
working-directory: drift
|
||||
steps:
|
||||
# setup
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./.github/actions/prepare
|
||||
with:
|
||||
dart_version: ${{ needs.setup.outputs.dart_version }}
|
||||
|
@ -106,7 +106,7 @@ jobs:
|
|||
working-directory: drift_dev
|
||||
steps:
|
||||
# setup
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./.github/actions/prepare
|
||||
with:
|
||||
dart_version: ${{ needs.setup.outputs.dart_version }}
|
||||
|
@ -127,7 +127,7 @@ jobs:
|
|||
working-directory: sqlparser
|
||||
steps:
|
||||
# setup
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./.github/actions/prepare
|
||||
with:
|
||||
dart_version: ${{ needs.setup.outputs.dart_version }}
|
||||
|
@ -171,7 +171,7 @@ jobs:
|
|||
ports:
|
||||
- 3306:3306
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./.github/actions/prepare
|
||||
with:
|
||||
dart_version: ${{ needs.setup.outputs.dart_version }}
|
||||
|
@ -210,7 +210,7 @@ jobs:
|
|||
needs: [setup]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./.github/actions/prepare
|
||||
with:
|
||||
dart_version: ${{ needs.setup.outputs.dart_version }}
|
||||
|
|
|
@ -17,8 +17,8 @@ jobs:
|
|||
name: "Compile sqlite3 for tests"
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/cache@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/cache@v4
|
||||
id: cache_build
|
||||
with:
|
||||
path: drift/.dart_tool/sqlite3/
|
||||
|
@ -49,7 +49,7 @@ jobs:
|
|||
outputs:
|
||||
dart_version: ${{ steps.dart_version.outputs.version }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dart-lang/setup-dart@v1
|
||||
- name: Get Dart version
|
||||
id: dart_version
|
||||
|
@ -57,7 +57,7 @@ jobs:
|
|||
version=`cat $DART_HOME/version`
|
||||
echo "Running on Dart $version"
|
||||
echo "version=$version" >> $GITHUB_STATE
|
||||
- uses: actions/cache@v3
|
||||
- uses: actions/cache@v4
|
||||
with:
|
||||
path: "${{ env.PUB_CACHE }}"
|
||||
key: dart-dependencies-${{ steps.dart_version.outputs.version }}-${{ hashFiles('**/pubspec.yaml') }}
|
||||
|
|
Loading…
Reference in New Issue