chore(deps): ⬆️ bump github/codeql-action from 3.25.4 to 3.25.5 #110
Workflow file for this run
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: Analysis CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
types: [opened, synchronize, reopened] | |
env: | |
DART_SDK_VERSION: "3.4" | |
permissions: | |
contents: read | |
jobs: | |
build: | |
name: Analyze | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5 | |
- name: Cache dependencies | |
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 | |
id: cache | |
with: | |
path: ~/.pub-cache/hosted | |
key: ${{ runner.os }}-pubspec-${{ env.DART_SDK_VERSION }}-${{ hashFiles('**/pubspec.yaml') }} | |
restore-keys: | | |
${{ runner.os }}-pubspec-${{ env.DART_SDK_VERSION }}- | |
${{ runner.os }}-pubspec- | |
${{ runner.os }}- | |
- name: Set up Dart | |
uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30 # v1.6.4 | |
with: | |
sdk: ${{ env.DART_SDK_VERSION }} | |
- name: Verify formatting | |
run: dart format --output=none --set-exit-if-changed . | |
- name: Install dependencies | |
run: dart pub get | |
- name: Analyze project source | |
run: dart analyze --fatal-infos | |
- name: Run tests | |
run: | | |
dart pub global activate coverage | |
dart test test/main.dart --coverage=coverage | |
dart pub global run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info --report-on=lib | |
- name: Coveralls upload | |
uses: coverallsapp/github-action@643bc377ffa44ace6394b2b5d0d3950076de9f63 # v2.3.0 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |