glsl-lexer/.forgejo/workflows/uwu.yaml
xqtc161 6aa73f802f
Some checks failed
/ build (push) Failing after 1m45s
/ clippy (push) Successful in 1m45s
No wonder this shit didn't work
2024-07-12 09:16:38 +02:00

48 lines
1.1 KiB
YAML

on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- id: checkout
name: checkout
uses: actions/checkout@v4
- id: setup-rust
name: setup rust
uses: https://github.com/ningenMe/setup-rustup@v1.1.0
with:
rust-version: nightly
- id: cargo-build
name: cargo build
run: |
cargo build
shell: bash
- id: cargo-test
name: cargo test
run: |
cargo test --lib
shell: bash
clippy:
runs-on: ubuntu-latest
steps:
- id: checkout
name: checkout
uses: actions/checkout@v4
- id: setup-rust
name: setup rust
uses: https://github.com/ningenMe/setup-rustup@v1.1.0
with:
rust-version: nightly
- id: cargo-clippy
name: cargo clippy
run: |
cargo clippy --fix --lib -p glsl-lexer
shell: bash
- id: commit
name: commit
uses: https://github.com/EndBug/add-and-commit@v9
with:
author_name: "[Clippy]"