Skip to content

Commit

Permalink
added CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
cophilot committed Mar 9, 2024
1 parent acc227b commit b6f0dfc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/check_rust_quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ name: Run rust quality checks
on:
push:
branches:
- master
- dev
workflow_call:


env:
CARGO_TERM_COLOR: always
Expand All @@ -15,12 +17,12 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Check formatting
run: ./scripts/format:check

- name: Check for missing comments
run: ./scripts/comment:check

- name: Check formating
run: ./scripts/format:check

- name: Run linter
run: ./scripts/lint

Expand All @@ -31,7 +33,7 @@ jobs:
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: stable
base: master
branch: master
base: dev
title: Automated New Stable Version
body: This pull request was automatically created by the workflow and contains the latest stable version of the repository.
3 changes: 3 additions & 0 deletions .github/workflows/on_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ env:
CARGO_TERM_COLOR: always

jobs:

tests:
uses: cophilot/templify/.github/workflows/check_rust_quality.yml
upload-release:
runs-on: ubuntu-latest
needs: [build-linux, build-windows, macos-linux]
Expand Down

0 comments on commit b6f0dfc

Please sign in to comment.