ci: added gitea actions
commit f80f2b021611b77484ace51634df136ef5100c9f
Author: Philippe Loctaux <p@philippeloctaux.com>
Date: Sun Jul 9 18:30:50 2023 +0200
cargo update
commit 8055f488d9f764a6f19ed33df79c90acc0caa92b
Author: Philippe Loctaux <p@philippeloctaux.com>
Date: Sun Jul 9 18:19:25 2023 +0200
ci: formatting yml
commit a62e37dd3963981717d182c9cd9bce06f6ac9f3a
Author: Philippe Loctaux <p@philippeloctaux.com>
Date: Sun Jul 9 18:10:49 2023 +0200
ci: tokei
commit 7c05cc674466a7ae494221d9924e0a84ac1d636f
Author: Philippe Loctaux <p@philippeloctaux.com>
Date: Sun Jul 9 18:00:50 2023 +0200
fmt
commit a50c26294984e4f7ac3f96a34d544f26fd71d3a7
Author: Philippe Loctaux <p@philippeloctaux.com>
Date: Sun Jul 9 17:53:04 2023 +0200
ci: clippy, fmt check
commit 9e09d900efd6d38aa55c28d0aca71c352d240367
Author: Philippe Loctaux <p@philippeloctaux.com>
Date: Sun Jul 9 17:35:47 2023 +0200
ci: dont force all features
commit 1a3fc8d26678b15c66cbaffe4b9581f1fc1d2500
Author: Philippe Loctaux <p@philippeloctaux.com>
Date: Sun Jul 9 17:34:55 2023 +0200
removed rust-toolchain.toml
commit ca110d611dc4fc7990b23c2db9853d786a2debd3
Author: Philippe Loctaux <p@philippeloctaux.com>
Date: Sun Jul 9 17:33:24 2023 +0200
ci: using full github url
commit ab49ae807e3e2cc96ec0ff2351c67f467b5d88ae
Author: Philippe Loctaux <p@philippeloctaux.com>
Date: Sun Jul 9 17:32:46 2023 +0200
ci: added rust workflow
commit ce9393451412327d61585862293209f4380eacec
Author: Philippe Loctaux <p@philippeloctaux.com>
Date: Sun Jul 9 17:18:44 2023 +0200
ci: initial commit with gitea actionsss
This commit is contained in:
parent
1b9243b9ba
commit
1478c516b3
5 changed files with 722 additions and 507 deletions
28
.gitea/workflows/rust.yml
Normal file
28
.gitea/workflows/rust.yml
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
name: Rust
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
rust:
|
||||
runs-on: node-16-bullseye
|
||||
container:
|
||||
image: ubuntu:act-22.04-philt3r
|
||||
steps:
|
||||
- name: Get code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
# rust
|
||||
- name: Rust toolchain
|
||||
uses: https://github.com/dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
components: clippy, rustfmt
|
||||
- run: cargo test
|
||||
- run: cargo clippy
|
||||
- run: cargo fmt --check
|
||||
|
||||
# tokei
|
||||
- name: Install tokei
|
||||
uses: https://github.com/brndnmtthws/rust-action-cargo-binstall@v1
|
||||
with:
|
||||
packages: tokei
|
||||
- name: Tokei
|
||||
run: tokei -C -s code
|
||||
Loading…
Add table
Add a link
Reference in a new issue