Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Flutter

on:
schedule:
# “At 00:00 (UTC) on Sunday.”
- cron: '0 0 * * 0'
pull_request:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/[email protected]
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, maybe this should have been v2.4.0?

with:
channel: 'master'
- run: flutter --version
- run: tool/validate.sh
2 changes: 1 addition & 1 deletion tool/travis.sh → tool/validate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ echo "PASSED"
echo

# Make sure we pass the analyzer
echo "Checking dartanalyzer..."
echo "Checking flutter analyze..."
for package_pubspec in packages/**/pubspec.yaml ; do
package_dir=$(dirname "${package_pubspec}")
echo "${package_dir}"
Expand Down