ip_address 💙 #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
paths: | |
- dart/** | |
name: Dart Projects | |
jobs: | |
open_ai: | |
name: open_ai Code Checker | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: '12.x' | |
- uses: dart-lang/setup-dart@v1 | |
- name: Checking open_ai | |
working-directory: ./dart/open_ai | |
run: | | |
dart pub get | |
dart analyze | |
- name: Send Message | |
if: always() | |
uses: appleboy/telegram-action@master | |
with: | |
to: ${{ secrets.TELEGRAM_TO }} | |
token: ${{ secrets.TELEGRAM_TOKEN }} | |
message: | | |
GitHub Action for dart/open_ai is completed with status ${{ job.status }} for ${{ github.ref }}. | |
ip_address: | |
name: ip_address Code Checker | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: '12.x' | |
- uses: dart-lang/setup-dart@v1 | |
- name: Checking ip_address | |
working-directory: ./dart/ip_address | |
run: | | |
dart pub get | |
dart analyze | |
dart test | |
- name: Send Message | |
if: always() | |
uses: appleboy/telegram-action@master | |
with: | |
to: ${{ secrets.TELEGRAM_TO }} | |
token: ${{ secrets.TELEGRAM_TOKEN }} | |
message: | | |
GitHub Action for dart/ip_address is completed with status ${{ job.status }} for ${{ github.ref }}. | |
interview_preparation: | |
name: interview_preparation Code Checker | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: '12.x' | |
- uses: dart-lang/setup-dart@v1 | |
- name: Checking interview_preparation | |
working-directory: ./dart/interview_preparation | |
run: | | |
dart pub get | |
dart analyze | |
dart run | |
- name: Send Message | |
if: always() | |
uses: appleboy/telegram-action@master | |
with: | |
to: ${{ secrets.TELEGRAM_TO }} | |
token: ${{ secrets.TELEGRAM_TOKEN }} | |
message: | | |
GitHub Action for dart/interview_preparation is completed with status ${{ job.status }} for ${{ github.ref }}. | |
algorithms: | |
name: algorithms Code Checker | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: '12.x' | |
- uses: dart-lang/setup-dart@v1 | |
- name: Checking algorithms | |
working-directory: ./dart/algorithms | |
run: | | |
dart pub get | |
dart analyze | |
dart run | |
- name: Send Message | |
if: always() | |
uses: appleboy/telegram-action@master | |
with: | |
to: ${{ secrets.TELEGRAM_TO }} | |
token: ${{ secrets.TELEGRAM_TOKEN }} | |
message: | | |
GitHub Action for dart/algorithms is completed with status ${{ job.status }} for ${{ github.ref }}. | |
data_structures: | |
name: data_structures Code Checker | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: '12.x' | |
- uses: dart-lang/setup-dart@v1 | |
- name: Checking data_structures | |
working-directory: ./dart/data_structures | |
run: | | |
dart pub get | |
dart analyze | |
dart run | |
- name: Send Message | |
if: always() | |
uses: appleboy/telegram-action@master | |
with: | |
to: ${{ secrets.TELEGRAM_TO }} | |
token: ${{ secrets.TELEGRAM_TOKEN }} | |
message: | | |
GitHub Action for dart/data_structures is completed with status ${{ job.status }} for ${{ github.ref }}. | |
stackexchange_api: | |
name: stackexchange_api Code Checker | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: '12.x' | |
- uses: dart-lang/setup-dart@v1 | |
- name: Checking stackexchange_api | |
working-directory: ./dart/stackexchange_api | |
run: | | |
dart pub get | |
dart analyze | |
dart test | |
dart pub publish --dry-run | |
- name: Send Message | |
if: always() | |
uses: appleboy/telegram-action@master | |
with: | |
to: ${{ secrets.TELEGRAM_TO }} | |
token: ${{ secrets.TELEGRAM_TOKEN }} | |
message: | | |
GitHub Action for dart/stackexchange_api is completed with status ${{ job.status }} for ${{ github.ref }}. |