Skip to content

Commit

Permalink
Merge pull request #1 from andre-paraense/slack-integration
Browse files Browse the repository at this point in the history
Slack integration
  • Loading branch information
andre-paraense authored Jan 17, 2020
2 parents 6757c22 + 804de3e commit 506e458
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 15 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,9 @@ jobs:
steps:
- uses: actions/checkout@v1
- uses: subosito/[email protected]
- run: flutter pub publish --dry-run
- run: flutter pub publish --dry-run
- uses: pioug/[email protected]
with:
ACTION_NAME: CD - Publish
JOB: ${{toJson(job)}}
SLACK_WEBHOOK_URL: ${{secrets.SLACK_WEBHOOK_URL}}
31 changes: 18 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,25 @@
name: CI

on: [push, pull_request]
on: [push]

jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: subosito/[email protected]
- run: flutter packages get
- run: flutter analyze --no-pub
- run: flutter test --coverage
- uses: codecov/[email protected]
with:
token: ${{secrets.CODECOV_TOKEN}}
file: ./coverage/lcov.info
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: subosito/[email protected]
- run: flutter packages get
- run: flutter analyze --no-pub
- run: flutter test --coverage
- uses: codecov/[email protected]
with:
token: ${{secrets.CODECOV_TOKEN}}
file: ./coverage/lcov.info
- uses: pioug/[email protected]
with:
ACTION_NAME: CI - Build and Test
JOB: ${{toJson(job)}}
SLACK_WEBHOOK_URL: ${{secrets.SLACK_WEBHOOK_URL}}
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: launchdarkly_flutter
description: A LaunchDarkly Flutter SDK
version: 0.0.1
version: 0.0.2
homepage: https://github.com/andre-paraense/launchdarkly_flutter
issue_tracker: https://github.com/andre-paraense/launchdarkly_flutter/issues

Expand Down

0 comments on commit 506e458

Please sign in to comment.