Skip to content

Instantly share code, notes, and snippets.

@SnowCait
Last active February 7, 2021 06:32
Show Gist options
  • Save SnowCait/feb6513cd6d8f8116a68b972067c3588 to your computer and use it in GitHub Desktop.
Save SnowCait/feb6513cd6d8f8116a68b972067c3588 to your computer and use it in GitHub Desktop.
name: main
on:
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/[email protected]
- name: lint
run: ktlint
unit-test:
runs-on: ubuntu-latest
needs: [lint]
steps:
- name: checkout
uses: actions/[email protected]
- name: unit test
run: test
scenario-test:
runs-on: ubuntu-latest
needs: [lint]
if: !contains(github.event.pull_request.labels.*.name, 'WIP')
steps:
- name: checkout
uses: actions/[email protected]
- name: scenario test
run: scenario_test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment