Skip to content

Commit b9716a1

Browse files
authored
blast repo changes: auto-publish (dart-archive/gcloud#165)
* blast_repo fixes auto-publish * add two exclusions for unreachable_from_main
1 parent 597fe30 commit b9716a1

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# A CI configuration to auto-publish pub packages.
2+
3+
name: Publish
4+
5+
on:
6+
pull_request:
7+
branches: [ master ]
8+
push:
9+
tags: [ 'v[0-9]+.[0-9]+.[0-9]+' ]
10+
11+
jobs:
12+
publish:
13+
if: ${{ github.repository_owner == 'dart-lang' }}
14+
uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main

pkgs/gcloud/test/db/db_test.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
// ignore_for_file: unreachable_from_main
6+
57
import 'dart:mirrors' show reflectClass;
68

79
import 'package:gcloud/datastore.dart' as datastore;

pkgs/gcloud/test/db/properties_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// ignore_for_file: only_throw_errors
5+
// ignore_for_file: only_throw_errors, unreachable_from_main
66

77
import 'dart:typed_data';
88

0 commit comments

Comments
 (0)