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