This repository has been archived by the owner on Nov 20, 2024. It is now read-only.
Bump dart-lang/setup-dart from 1.5.0 to 1.5.1 #3809
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: linter | |
on: | |
schedule: | |
# “At 00:00 (UTC) on Sunday.” | |
- cron: '0 0 * * 0' | |
pull_request: | |
push: | |
branches: | |
- main | |
env: | |
PUB_ENVIRONMENT: bot.github | |
permissions: read-all | |
jobs: | |
build: | |
permissions: | |
checks: write # for coverallsapp/github-action to create new checks | |
name: ${{ matrix.linter-bot }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
linter-bot: | |
- main | |
- coverage | |
- benchmark | |
steps: | |
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 | |
- uses: dart-lang/setup-dart@8a4b97ea2017cc079571daec46542f76189836b1 | |
with: | |
sdk: dev | |
- run: dart pub get | |
- name: tool/bot.sh | |
env: | |
LINTER_BOT: ${{ matrix.linter-bot }} | |
run: ./tool/bot.sh | |
- name: upload coverage | |
if: matrix.linter-bot == 'coverage' | |
uses: coverallsapp/github-action@95b1a2355bd0e526ad2fd62da9fd386ad4c98474 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
path-to-lcov: var/lcov.info |