Skip to content

Commit c708628

Browse files
committed
fix github action setup
1 parent ab39af2 commit c708628

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/dart.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
# Created with package:mono_repo v3.1.0-beta.2
1+
# Created with package:mono_repo v3.1.0-beta.3
22
name: Dart CI
33
on:
44
push:
55
branches:
6-
- $default-branch
6+
- main
7+
- master
78
pull_request:
89
schedule:
910
- cron: "0 0 * * 0"
@@ -24,7 +25,7 @@ jobs:
2425
version: latest
2526
- run: dart --version
2627
- uses: actions/checkout@v2
27-
- run: pub global activate mono_repo 3.1.0-beta.2
28+
- run: pub global activate mono_repo 3.1.0-beta.3
2829
- run: pub global run mono_repo generate --validate
2930
job_002:
3031
name: "OS: linux; SDK: dev; PKGS: _test_yaml, checked_yaml, example, json_annotation, json_serializable; TASKS: [`dartfmt -n --set-exit-if-changed .`, `dartanalyzer --fatal-warnings --fatal-infos .`]"

tool/ci.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# Created with package:mono_repo v3.1.0-beta.2
2+
# Created with package:mono_repo v3.1.0-beta.3
33

44
# Support built in commands on windows out of the box.
55
function pub() {

0 commit comments

Comments
 (0)