glsl-lexer/.forgejo/workflows/uwu.yaml

27 lines
527 B
YAML
Raw Normal View History

2024-07-11 14:51:10 +02:00
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
2024-07-11 14:02:10 +02:00
jobs:
2024-07-11 14:51:10 +02:00
build:
2024-07-11 14:02:10 +02:00
runs-on: ubuntu-latest
2024-07-11 14:51:10 +02:00
2024-07-11 14:02:10 +02:00
steps:
2024-07-11 14:51:10 +02:00
- uses: actions/checkout@v4
2024-07-11 14:56:16 +02:00
- name: Install toolchain
2024-07-11 14:53:31 +02:00
run: |
apt update
2024-07-11 14:56:16 +02:00
apt install --yes curl
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain nightly --profile default -y
2024-07-11 14:51:10 +02:00
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose