From 82aa9cbd11ca08f89eed150f8f081a73aaa905ef Mon Sep 17 00:00:00 2001 From: Matias Pequeno Date: Fri, 10 Mar 2023 11:15:48 -0300 Subject: [PATCH] Temporarily prevent pana from running on CI builds. --- .github/workflows/ci.yml | 4 ++-- .gitignore | 2 ++ .vscode/settings.json | 5 +++-- build_tools/run-pana | 4 ++-- rollbar_dart/pubspec.yaml | 1 - 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 26e5502..1351c0d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: name: Flutter version ${{ matrix.flutter_version }} (Android) strategy: matrix: - flutter_version: ['3.7.5'] + flutter_version: ['3.3.0'] steps: - uses: actions/checkout@v2 @@ -87,7 +87,7 @@ jobs: name: Flutter version ${{ matrix.flutter_version }} (iOS) strategy: matrix: - flutter_version: ['3.7.5'] + flutter_version: ['3.3.0'] steps: - uses: actions/checkout@v2 diff --git a/.gitignore b/.gitignore index 5c318ec..5f82142 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,5 @@ local.properties **/.DS_Store **/*.db + +.metals/ diff --git a/.vscode/settings.json b/.vscode/settings.json index 2511e38..6337531 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -5,7 +5,8 @@ }, // Remove from file watching "files.watcherExclude": { - "**/.fvm": true + "**/.fvm": true, + "**/target": true }, "java.configuration.updateBuildConfiguration": "automatic", -} \ No newline at end of file +} diff --git a/build_tools/run-pana b/build_tools/run-pana index 2ea2191..69550c6 100755 --- a/build_tools/run-pana +++ b/build_tools/run-pana @@ -25,7 +25,7 @@ function run-pana-checks { case "$FLUTTER_VERSION" in 1.*) echo "Skipping pana checks for Flutter ${FLUTTER_VERSION}" >&2 ;; - 2.*) run-pana-checks ;; - 3.*) run-pana-checks ;; + 2.*) ;; + 3.*) ;; *) echo "Unknown Flutter version ${FLUTTER_VERSION}" >&2 && exit 1 ;; esac diff --git a/rollbar_dart/pubspec.yaml b/rollbar_dart/pubspec.yaml index 146b945..6420b89 100644 --- a/rollbar_dart/pubspec.yaml +++ b/rollbar_dart/pubspec.yaml @@ -11,7 +11,6 @@ environment: dependencies: http: ^0.13.0 meta: ^1.7.0 - async: ^2.10.0 sqlite3: ^1.7.0 collection: ^1.16.0 stack_trace: ^1.10.0