[gentoo-commits] proj/cargo-ebuild:master commit in: .github/workflows/
commit: 63db179025a4b6cd503268ae8a95f821637df4a4 Author: Georgy Yakovlev gentoo org> AuthorDate: Tue Nov 8 19:54:33 2022 + Commit: Georgy Yakovlev gentoo org> CommitDate: Tue Nov 8 19:55:14 2022 + URL:https://gitweb.gentoo.org/proj/cargo-ebuild.git/commit/?id=63db1790 dco check: update syntax Signed-off-by: Georgy Yakovlev gentoo.org> .github/workflows/dco.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dco.yml b/.github/workflows/dco.yml index 8e62a3b..26f8807 100644 --- a/.github/workflows/dco.yml +++ b/.github/workflows/dco.yml @@ -27,5 +27,5 @@ jobs: echo "${__errmsg}" exit 1 else - echo "::set-output name=dco::ok" + echo "dco=ok" >> $GITHUB_OUTPUT fi
[gentoo-commits] proj/cargo-ebuild:master commit in: .github/workflows/
commit: 8cdecc8e9e123c5f5e86f37ed0e7317bf3215ee7 Author: Georgy Yakovlev gentoo org> AuthorDate: Thu Oct 7 18:58:30 2021 + Commit: Georgy Yakovlev gentoo org> CommitDate: Thu Oct 7 18:58:30 2021 + URL:https://gitweb.gentoo.org/proj/cargo-ebuild.git/commit/?id=8cdecc8e .github/workflows/rust.yml: generate ebuild for self Signed-off-by: Georgy Yakovlev gentoo.org> .github/workflows/rust.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 885d349..a79d83d 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -24,3 +24,5 @@ jobs: run: cargo audit --color always - name: cargo outdated run: cargo outdated --color always --exit-code 0 +- name: generate and cat ebuild + run: target/debug/cargo-ebuild ebuild -T cargo-ebuild-template.tera && cat cargo-ebuild-*.ebuild
[gentoo-commits] proj/cargo-ebuild:master commit in: .github/workflows/
commit: 43ae93ea735d9ad8878b0c1a0659cf0f1a083981 Author: Georgy Yakovlev gentoo org> AuthorDate: Thu Jul 29 15:52:00 2021 + Commit: Georgy Yakovlev gentoo org> CommitDate: Thu Jul 29 16:41:08 2021 + URL:https://gitweb.gentoo.org/proj/cargo-ebuild.git/commit/?id=43ae93ea .github: add basic cargo checks Signed-off-by: Georgy Yakovlev gentoo.org> .github/workflows/rust.yml | 26 ++ 1 file changed, 26 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 000..885d349 --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,26 @@ +name: Rust checks + +on: + push: +branches: [ master ] + pull_request: +branches: [ master ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: +runs-on: ubuntu-latest +steps: +- uses: actions/checkout@v2 +- name: cargo build + run: cargo build --verbose +- name: cargo test + run: cargo test --verbose +- name: cargo clippy + run: cargo clippy +- name: cargo audit + run: cargo audit --color always +- name: cargo outdated + run: cargo outdated --color always --exit-code 0
[gentoo-commits] proj/cargo-ebuild:master commit in: .github/workflows/
commit: e05b016aee4e73f27e35fbe27e6b750618d57562 Author: Georgy Yakovlev gentoo org> AuthorDate: Thu Jul 29 16:53:35 2021 + Commit: Georgy Yakovlev gentoo org> CommitDate: Thu Jul 29 18:26:01 2021 + URL:https://gitweb.gentoo.org/proj/cargo-ebuild.git/commit/?id=e05b016a .github: add dco check Signed-off-by: Georgy Yakovlev gentoo.org> .github/workflows/dco.yml | 31 +++ 1 file changed, 31 insertions(+) diff --git a/.github/workflows/dco.yml b/.github/workflows/dco.yml new file mode 100644 index 000..8e62a3b --- /dev/null +++ b/.github/workflows/dco.yml @@ -0,0 +1,31 @@ +name: DCO check + +on: + push: +branches: [ master ] + pull_request: +branches: [ master ] + +jobs: + dco: +runs-on: ubuntu-latest +steps: +- uses: actions/checkout@v2 + with: +ref: ${{ github.event.after }} +- name: check Signed-off-by + run: | +__COMMIT_MSG="$(git log --format=%B -n 1 ${{ github.event.after }})" +if [[ ! ${__COMMIT_MSG} =~ "Signed-off-by:" ]]; then + __errmsg="::error ::Missing GCO sign-off +Please read the terms of Gentoo Certificate of Origin[1] and acknowledge them by adding a sign-off to all your commits. +[1] https://www.gentoo.org/glep/glep-0076.html#certificate-of-origin"; + __errmsg="${__errmsg//'%'/'%25'}" + __errmsg="${__errmsg//$'\n'/'%0A'}" + __errmsg="${__errmsg//$'\r'/'%0D'}" + + echo "${__errmsg}" + exit 1 +else + echo "::set-output name=dco::ok" +fi