fix: fix how gRPC transport security is determined #237
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/get-diff-action@v6.1.2 | |
with: | |
PATTERNS: | | |
**/**.dart | |
pubspec.yaml | |
- name: Setup 🔨 | |
if: env.GIT_DIFF | |
uses: dart-lang/setup-dart@v1.4 | |
with: | |
sdk: 3.0.0 | |
- name: Get dependencies 📥 | |
if: env.GIT_DIFF | |
run: dart pub get | |
- name: Analyze 🔍 | |
if: env.GIT_DIFF | |
run: make lint |