diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b334881..62c6a72 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -100,15 +100,7 @@ jobs: COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=f43 IGNORE_ARGS="--ignore-category low" make -f Makefile check-fedora-versions working-directory: loopdev-3 - yamllint: - runs-on: ubuntu-22.04 - container: - image: fedora:43 # CURRENT DEVELOPMENT ENVIRONMENT - steps: - - uses: actions/checkout@v6 - with: - persist-credentials: false - - name: Install dependencies for Fedora - run: dnf install -y make yamllint - - name: Run yamllint - run: make -f Makefile yamllint + 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/.packit.yaml b/.packit.yaml index a9ab0ba..c74215d 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -1,3 +1,4 @@ +--- upstream_project_url: https://github.com/stratis-storage/loopdev-3 packages: diff --git a/Makefile b/Makefile index f07dd12..01e22a8 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ check-fedora-versions: test-compare-fedora-versions ${COMPARE_FEDORA_VERSIONS} ${FEDORA_RELEASE_ARGS} ${IGNORE_ARGS} yamllint: - yamllint --strict .github/workflows/*.yml .yamllint.yaml + yamllint --strict .github/workflows/*.yml .packit.yaml .yamllint.yaml fmt: cargo fmt @@ -43,12 +43,20 @@ build: doc-test: cargo test --doc +check-typos: + typos + +fix-typos: + typos -w + .PHONY: audit build check-fedora-versions + check-typos clippy doc-test + fix-typos fmt fmt-ci test-compare-fedora-versions