* [gentoo-commits] proj/cargo-ebuild:master commit in: .github/workflows/
@ 2021-07-29 18:29 Georgy Yakovlev
0 siblings, 0 replies; 4+ messages in thread
From: Georgy Yakovlev @ 2021-07-29 18:29 UTC (permalink / raw
To: gentoo-commits
commit: 43ae93ea735d9ad8878b0c1a0659cf0f1a083981
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 29 15:52:00 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Thu Jul 29 16:41:08 2021 +0000
URL: https://gitweb.gentoo.org/proj/cargo-ebuild.git/commit/?id=43ae93ea
.github: add basic cargo checks
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> 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 0000000..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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] proj/cargo-ebuild:master commit in: .github/workflows/
@ 2021-07-29 18:29 Georgy Yakovlev
0 siblings, 0 replies; 4+ messages in thread
From: Georgy Yakovlev @ 2021-07-29 18:29 UTC (permalink / raw
To: gentoo-commits
commit: e05b016aee4e73f27e35fbe27e6b750618d57562
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 29 16:53:35 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Thu Jul 29 18:26:01 2021 +0000
URL: https://gitweb.gentoo.org/proj/cargo-ebuild.git/commit/?id=e05b016a
.github: add dco check
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> 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 0000000..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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] proj/cargo-ebuild:master commit in: .github/workflows/
@ 2021-10-07 19:03 Georgy Yakovlev
0 siblings, 0 replies; 4+ messages in thread
From: Georgy Yakovlev @ 2021-10-07 19:03 UTC (permalink / raw
To: gentoo-commits
commit: 8cdecc8e9e123c5f5e86f37ed0e7317bf3215ee7
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 7 18:58:30 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Thu Oct 7 18:58:30 2021 +0000
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 <gyakovlev <AT> 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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] proj/cargo-ebuild:master commit in: .github/workflows/
@ 2022-11-08 19:55 Georgy Yakovlev
0 siblings, 0 replies; 4+ messages in thread
From: Georgy Yakovlev @ 2022-11-08 19:55 UTC (permalink / raw
To: gentoo-commits
commit: 63db179025a4b6cd503268ae8a95f821637df4a4
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 8 19:54:33 2022 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Tue Nov 8 19:55:14 2022 +0000
URL: https://gitweb.gentoo.org/proj/cargo-ebuild.git/commit/?id=63db1790
dco check: update syntax
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> 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
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-11-08 19:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-07 19:03 [gentoo-commits] proj/cargo-ebuild:master commit in: .github/workflows/ Georgy Yakovlev
-- strict thread matches above, loose matches on Subject: below --
2022-11-08 19:55 Georgy Yakovlev
2021-07-29 18:29 Georgy Yakovlev
2021-07-29 18:29 Georgy Yakovlev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox