diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml new file mode 100644 index 0000000..369aba7 --- /dev/null +++ b/.github/workflows/cd.yml @@ -0,0 +1,11 @@ +name: Continues Delivery + +name: PR-Merge + +on: + push: + tags: + - "**" + +env: + CARGO_TERM_COLOR: always diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..d436ce3 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,26 @@ +name: Continues Integration + +on: + pull_request: + types: [opened, synchronize, reopened] + branches-ignore: + - master + - main + - gh-pages + +env: + CARGO_TERM_COLOR: always + + +jobs: + build-and-test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Setup Development Environment + uses: ./.github/actions/ka3005p-dev + + - name: Run all tests + run: just test diff --git a/.github/workflows/pr-merge.yml b/.github/workflows/pr-merge.yml new file mode 100644 index 0000000..8d93fd0 --- /dev/null +++ b/.github/workflows/pr-merge.yml @@ -0,0 +1,11 @@ +name: PR-Merge + +on: + push: + branches: + - "master" + - "main" + +env: + CARGO_TERM_COLOR: always +