feat(dependency)!: upgrade http package BREAKING CHANGE: dart sdk must be: >=3.2.0 #241
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
# Lint workflow runs linter | |
# This workflow is run on pushes to main and every pull requests where a .dart, .mod, .sum have been changed | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
Lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v3 | |
- name: Compute diff 📜 | |
uses: technote-space/[email protected] | |
with: | |
PATTERNS: | | |
**/**.dart | |
pubspec.yaml | |
- name: Setup 🔨 | |
if: env.GIT_DIFF | |
uses: dart-lang/[email protected] | |
with: | |
sdk: 3.2.0 | |
- name: Get dependencies 📥 | |
if: env.GIT_DIFF | |
run: dart pub get | |
- name: Analyze 🔍 | |
if: env.GIT_DIFF | |
run: make lint |