This repository has been archived on 2024-08-06. You can view files and clone it, but cannot push or open issues or pull requests.
comicinfo-editor-v2/.forgejo/workflows/test.yml
Neshura 04b4f60279
Some checks failed
Run Tests on Code / run-tests (push) Failing after 16s
Actions Debugging Time
2023-12-19 23:18:42 +01:00

40 lines
1.1 KiB
YAML

name: 'Run Tests on Code'
author: 'Neshura'
on:
push:
tags-ignore:
- '**'
branches:
- '**'
jobs:
run-tests:
runs-on: docker
container: rust:latest
steps:
-
name: Installing Node
run: apt update && apt install -y nodejs
-
name: Add Clippy
run: rustup component add clippy
-
name: Checking Out Repository Code
uses: https://code.forgejo.org/actions/checkout@v3
-
name: Change To Rust Root Dir
run: ls -lap
-
name: Set Up Cargo Cache
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
-
name: Run Clippy
run: cargo clippy