yotei/.forgejo/workflows/.uwu.yaml
xqtc 150df72e00
Some checks failed
/ build (push) Failing after 1m40s
/ clippy (push) Failing after 1m42s
[WORKER] Make Alive Check run in parallel
2024-09-12 02:34:52 +02:00

46 lines
1.2 KiB
YAML

on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- id: checkout
name: checkout
uses: actions/checkout@v4
- uses: https://github.com/actions-rs/toolchain@v1
with:
toolchain: nightly
- name: Install Protoc
uses: https://github.com/arduino/setup-protoc@v3
- uses: https://github.com/actions-rs/cargo@v1
with:
command: build
args: --bins
# - uses: https://github.com/actions-rs/cargo@v1
# with:
# command: build
# args: --lib
clippy:
runs-on: ubuntu-latest
steps:
- id: checkout
name: checkout
uses: actions/checkout@v4
- uses: https://github.com/actions-rs/toolchain@v1
with:
toolchain: nightly
- name: Install Protoc
uses: https://github.com/arduino/setup-protoc@v3
- uses: https://github.com/actions-rs/cargo@v1
with:
command: clippy
args: --fix --bins
- id: commit
name: commit
uses: https://github.com/EndBug/add-and-commit@v9
with:
author_name: "[Clippy]"
committer_name: "[Clippy]"