New planningdocuments sprint6 #229
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2024 Felix Hilgers <[email protected]> | |
# | |
# SPDX-License-Identifier: MIT | |
name: Lint, Build, Test | |
on: | |
pull_request: | |
push: | |
branches: | |
- dev | |
workflow_dispatch: | |
jobs: | |
reuse-lint: | |
name: Reuse Lint | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-base | |
- name: Lint | |
run: nix run .#reuseLint | |
documentation: | |
name: Build Documentation | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-base | |
- name: Asciidoctor | |
run: | | |
nix develop --command \ | |
asciidoctor -r asciidoctor-diagram Documentation/asciidoc/main.adoc -o index.html | |
gradle-lint: | |
name: Gradle Lint | |
runs-on: ubuntu-24.04 | |
needs: [reuse-lint] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-base | |
- uses: ./.github/actions/setup-gradle-cache | |
- name: Lint | |
run: nix run .#gradleLint | |
rust-lint: | |
name: Rust Lint | |
runs-on: ubuntu-24.04 | |
needs: [reuse-lint] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-base | |
- uses: ./.github/actions/setup-rust-cache | |
- name: Lint | |
run: nix run .#rustLint | |
gradle-build-test: | |
name: Gradle Test | |
runs-on: ubuntu-24.04 | |
needs: gradle-lint | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-base | |
- uses: ./.github/actions/setup-gradle-cache | |
- name: Build and Test | |
run: nix run .#gradleTest | |
rust-build-test: | |
name: Rust Test | |
runs-on: ubuntu-24.04 | |
needs: rust-lint | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-base | |
- uses: ./.github/actions/setup-rust-cache | |
- name: Build and Test | |
run: nix run .#rustTest |