Merge pull request 'grep for todo! and dbg! in check_commands and in CI' (#12) from feature/add-grep-for-dbg-and-todo-to-ci into master
All checks were successful
Gentoo Utils / build-oci-image (push) Successful in 7s
Gentoo Utils / check-format (push) Successful in 7s
Gentoo Utils / grep (push) Successful in 3s
Gentoo Utils / docs (push) Successful in 13s
Gentoo Utils / build (push) Successful in 20s
Gentoo Utils / test (push) Successful in 28s
All checks were successful
Gentoo Utils / build-oci-image (push) Successful in 7s
Gentoo Utils / check-format (push) Successful in 7s
Gentoo Utils / grep (push) Successful in 3s
Gentoo Utils / docs (push) Successful in 13s
Gentoo Utils / build (push) Successful in 20s
Gentoo Utils / test (push) Successful in 28s
Reviewed-on: #12
This commit was merged in pull request #12.
This commit is contained in:
@@ -153,3 +153,16 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
meson setup -Ddocs=enabled docs
|
meson setup -Ddocs=enabled docs
|
||||||
ninja rustdoc -C docs
|
ninja rustdoc -C docs
|
||||||
|
|
||||||
|
grep:
|
||||||
|
runs-on: brutalisk
|
||||||
|
needs: [build-oci-image]
|
||||||
|
container:
|
||||||
|
image: ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:${{ needs.build-oci-image.outputs.image_tag }}
|
||||||
|
steps:
|
||||||
|
- name: Checkout repo
|
||||||
|
uses: actions/checkout@v5
|
||||||
|
|
||||||
|
- name: grep for patterns
|
||||||
|
run: |
|
||||||
|
git grep 'todo!|dbg!' -- '*.rs' && exit 1 || exit 0
|
||||||
|
|||||||
@@ -3,3 +3,4 @@ ninja rustfmt -C build
|
|||||||
ninja rustdoc -C build
|
ninja rustdoc -C build
|
||||||
ninja clippy -C build
|
ninja clippy -C build
|
||||||
ninja test -C build
|
ninja test -C build
|
||||||
|
git grep 'todo!|dbg!' -- '*.rs' && exit 1 || exit 0
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ impl Iterator for Ebuilds {
|
|||||||
Ok(ebuild) => break Some(Ok(ebuild)),
|
Ok(ebuild) => break Some(Ok(ebuild)),
|
||||||
Err(e) => break Some(Err(e)),
|
Err(e) => break Some(Err(e)),
|
||||||
},
|
},
|
||||||
_ => todo!(),
|
Err(e) => break Some(Err(Error::ReadDir(self.0.clone(), e))),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user