Update github/codeql-action action to v3.28.10 #2749
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: Flutter | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches-ignore: | |
- release/beta | |
- release/master | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
unit_test: | |
name: Unit test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: actions/dependency-review-action@3b139cfc5fae8b618d3eae3675e383bb1769c019 # v4.5.0 | |
if: github.base_ref | |
- name: Setup Flutter | |
uses: subosito/flutter-action@f2c4f6686ca8e8d6e6d0f28410eeef506ed66aff # v2.18.0 | |
with: | |
cache: true | |
# TODO: investigate why this fail on GitHub Actions | |
# - run: dart format --set-exit-if-changed --output none . | |
- name: Run chromedriver | |
run: | | |
set -e | |
chromedriver --port=4444 & | |
echo CHROMEDRIVER_PORT_4444=yes >$GITHUB_ENV | |
- run: ./tool/test.sh --coverage | |
- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0 | |
if: failure() | |
with: | |
name: failures | |
path: "**/failures/" | |
- uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v5.3.1 | |
with: | |
fail_ci_if_error: true | |
token: ${{ secrets.CODECOV_TOKEN }} |