Skip to content

chore(deps): bump dart-lang/setup-dart from 1.7.2 to 1.8.0 #346

chore(deps): bump dart-lang/setup-dart from 1.7.2 to 1.8.0

chore(deps): bump dart-lang/setup-dart from 1.7.2 to 1.8.0 #346

Workflow file for this run

name: spdx_license
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
paths:
- .github/workflows/spdx_license.yaml
- "tool/spdx_license/**"
branches:
- main
pull_request:
paths:
- .github/workflows/spdx_license.yaml
- "tool/spdx_license/**"
branches:
- main
jobs:
build_hooks:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/dart_package.yml@v1
with:
dart_sdk: "3.12.0"
working_directory: tool/spdx_license/hooks
analyze_directories: "."
report_on: "pre_gen,post_gen"
run_skipped: true
build_brick:
defaults:
run:
working-directory: tool/spdx_license
runs-on: ubuntu-latest
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v7
- name: 🎯 Setup Dart
uses: dart-lang/setup-dart@v1.8.0
with:
sdk: "3.12.0"
- name: 📦 Install Dependencies
run: dart pub get
- name: 🧱 Mason make
# If this step fails, you may need to run the following command (from tool/spdx_license):
# ```sh
# mason make spdx_license --licenses "[]" -o test --on-conflict overwrite
# ```
# This will build the brick and generate the latest files for testing.
run: |
dart pub global activate mason_cli
mason get
mason make spdx_license --licenses "[]" -o test --on-conflict overwrite --set-exit-if-changed
- name: ✨ Check Formatting
run: dart format --set-exit-if-changed test/**_test.dart
- name: 🕵️ Analyze
run: dart analyze --fatal-infos --fatal-warnings test/**_test.dart
- name: 🧪 Run Tests
run: dart test -j 4 --run-skipped --test-randomize-ordering-seed random