Skip to content

Commit

Permalink
Sync dev with master (#3050)
Browse files Browse the repository at this point in the history
  • Loading branch information
rrousselGit authored Oct 28, 2023
1 parent e23f769 commit 6f898c0
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
push:
branches:
- master
- dev
paths-ignore:
- "**.md"
- "**.mdx"
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Check CHANGELOG.md

on:
push:
branches:
- master
- dev
pull_request:


jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/[email protected]
with:
fetch-depth: 2
- uses: subosito/[email protected]
with:
channel: master

- name: Add pub cache bin to PATH
run: echo "$HOME/.pub-cache/bin" >> $GITHUB_PATH
- name: Add pub cache to PATH
run: echo "PUB_CACHE="$HOME/.pub-cache"" >> $GITHUB_ENV

- name: Install "semantic_changelog"
run: dart pub global activate -s git https://github.com/rrousselGit/semantic_changelog

- run: git fetch origin master:refs/remotes/origin/master
- run: semantic_changelog check origin/master
1 change: 1 addition & 0 deletions .github/workflows/check_generation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
push:
branches:
- master
- dev
paths-ignore:
- "**.md"

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/riverpod_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
push:
branches:
- master
- dev
paths-ignore:
- "**.md"
schedule:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import 'package:build_yaml/main.dart';
import 'package:test/test.dart';

void main() {
test('provider names', () {
expect(countPod.name, 'countPod');
expect(countFuturePod.name, 'countFuturePod');
expect(countStreamPod.name, 'countStreamPod');
expect(countNotifierPod.name, 'countNotifierPod');
expect(countAsyncNotifierPod.name, 'countAsyncNotifierPod');
expect(countStreamNotifierPod.name, 'countStreamNotifierPod');
});

test('provider family names', () {
expect(count2ProviderFamily.name, 'count2ProviderFamily');
expect(countFuture2ProviderFamily.name, 'countFuture2ProviderFamily');
expect(countStream2ProviderFamily.name, 'countStream2ProviderFamily');
expect(countNotifier2ProviderFamily.name, 'countNotifier2ProviderFamily');
expect(
countAsyncNotifier2ProviderFamily.name,
'countAsyncNotifier2ProviderFamily',
);
expect(
countStreamNotifier2ProviderFamily.name,
'countStreamNotifier2ProviderFamily',
);
});
}

0 comments on commit 6f898c0

Please sign in to comment.