diff options
author | Lukasz Woznicki <75632179+makr11st@users.noreply.github.com> | 2021-11-24 20:54:56 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-24 20:54:56 +0000 |
commit | a4ffeccf60090e4456755bc53a6e3b8c8038e855 (patch) | |
tree | 9583f187114913a92866571920dd3bb205bd50a3 /.github | |
parent | 8217e80670e76dbf9168780f5e0545355a39f8f3 (diff) |
Restructure directories of the workspace (#559)
* Restructure directories of the workspace
* Rename c8y_translator_lib to c8y_translator
* Update comment on how to get dummy plugin path
Signed-off-by: Lukasz Woznicki <lukasz.woznicki@softwareag.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/commit-workflow.yml | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/.github/workflows/commit-workflow.yml b/.github/workflows/commit-workflow.yml index bf63d648..23288c28 100644 --- a/.github/workflows/commit-workflow.yml +++ b/.github/workflows/commit-workflow.yml @@ -2,24 +2,21 @@ name: commit-workflow on: push: - branches: [ main ] + branches: [main] workflow_dispatch: - branches: [ main ] + branches: [main] pull_request: - branches: [ main ] + branches: [main] env: CARGO_TERM_COLOR: always jobs: - cargo-fmt: - name: Run cargo fmt runs-on: Ubuntu-20.04 steps: - - name: Checkout uses: actions/checkout@v2 @@ -38,12 +35,10 @@ jobs: args: -- --check cargo-clippy: - name: Run cargo clippy runs-on: Ubuntu-20.04 steps: - - name: Checkout uses: actions/checkout@v2 @@ -65,13 +60,11 @@ jobs: command: clippy cargo-test: - name: Run cargo test runs-on: Ubuntu-20.04 needs: [cargo-fmt, cargo-clippy] steps: - - name: Checkout uses: actions/checkout@v2 @@ -85,6 +78,13 @@ jobs: with: command: version + - name: Cargo build dummy plugin + uses: actions-rs/cargo@v1 + # https://github.com/marketplace/actions/rust-cargo + with: + command: build + args: -p tedge_dummy_plugin + - name: Cargo test uses: actions-rs/cargo@v1 # https://github.com/marketplace/actions/rust-cargo @@ -93,13 +93,11 @@ jobs: args: --no-fail-fast cargo-build: - name: Run cargo build runs-on: Ubuntu-20.04 needs: [cargo-fmt, cargo-clippy] steps: - - name: Checkout uses: actions/checkout@v2 |