2023-11-17 08:15:04 +00:00
|
|
|
name: 'Run Tests on Code'
|
|
|
|
author: 'Neshura'
|
|
|
|
|
2023-11-17 08:21:00 +00:00
|
|
|
on:
|
|
|
|
push:
|
2023-11-17 08:25:01 +00:00
|
|
|
tags-ignore:
|
|
|
|
- '**'
|
|
|
|
branches:
|
|
|
|
- '**'
|
2023-11-17 08:15:04 +00:00
|
|
|
jobs:
|
|
|
|
run-tests:
|
|
|
|
runs-on: docker
|
2023-12-19 21:12:28 +00:00
|
|
|
container: rust:latest
|
2023-11-17 08:15:04 +00:00
|
|
|
steps:
|
2023-12-19 21:19:21 +00:00
|
|
|
-
|
|
|
|
name: Installing Node
|
2023-12-19 21:43:16 +00:00
|
|
|
uses: actions/setup-node@v4
|
|
|
|
with:
|
|
|
|
node-version: 18
|
2023-12-19 21:21:52 +00:00
|
|
|
-
|
|
|
|
name: Add Clippy
|
|
|
|
run: rustup component add clippy
|
2023-12-19 21:19:21 +00:00
|
|
|
-
|
|
|
|
name: Checking Out Repository Code
|
|
|
|
uses: https://code.forgejo.org/actions/checkout@v3
|
|
|
|
-
|
|
|
|
name: Run Clippy
|
|
|
|
run: cargo clippy
|