glsl-lexer/.forgejo/workflows/uwu.yaml
xqtc a1777805bc
All checks were successful
/ build (push) Successful in 1m20s
/ clippy (push) Successful in 1m9s
Removed test job so workflow doesn't fail; Cleanup
2024-07-22 10:08:31 +02:00

41 lines
1,011 B
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
- uses: https://github.com/actions-rs/cargo@v1
with:
command: build
args: --release
# - uses: https://github.com/actions-rs/cargo@v1
# with:
# command: test
# 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
- uses: https://github.com/actions-rs/cargo@v1
with:
command: clippy
args: --fix --lib
- id: commit
name: commit
uses: https://github.com/EndBug/add-and-commit@v9
with:
author_name: "[Clippy]"