diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b185571..d76945c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,14 +1,12 @@ --- name: into-dbus-python CI -# yamllint disable-line rule:truthy on: push: branches: [master] pull_request: branches: [master] - # Allows you to run this workflow manually from the Actions tab workflow_dispatch: jobs: @@ -18,8 +16,6 @@ jobs: include: - dependencies: black python3-isort task: make -f Makefile fmt-travis - - dependencies: yamllint - task: make -f Makefile yamllint - dependencies: > libatomic pylint @@ -104,20 +100,7 @@ jobs: - name: ${{ matrix.task }} run: ${{ matrix.task }} - rust_dependent_checks: - runs-on: ubuntu-latest - container: fedora:43 # CURRENT DEVELOPMENT ENVIRONMENT - steps: - - uses: actions/checkout@v6 - with: - persist-credentials: false - - name: Install dependencies - run: dnf install -y clang curl make - - uses: actions-rust-lang/setup-rust-toolchain@v1 - with: - components: cargo - - uses: baptiste0928/cargo-install@v3 - with: - crate: typos-cli - - name: Run test - run: make -f Makefile check-typos + general_checks: + uses: stratis-storage/github-actions/.github/workflows/reusable_general.yml@master + with: + fedora-container-image-number: 43 # CURRENT DEVELOPMENT ENVIRONMENT diff --git a/.yamllint.yaml b/.yamllint.yaml new file mode 100644 index 0000000..3902f92 --- /dev/null +++ b/.yamllint.yaml @@ -0,0 +1,8 @@ +--- +extends: default + +rules: + line-length: disable + truthy: + ignore: + .github/workflows/*.yml diff --git a/Makefile b/Makefile index 609645b..508524f 100644 --- a/Makefile +++ b/Makefile @@ -34,6 +34,7 @@ upload-release: .PHONY: yamllint yamllint: yamllint --strict .github/workflows/main.yml + yamllint --strict .yamllint.yaml .PHONY: package package: