added test & other build commands #13
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: © 2025 Nayan Patil <nayantsg@proton.me> | |
# | |
# SPDX-License-Identifier: GPL-3.0-or-later | |
# ==-----------------------------------------------------------== # | |
# Do not modify! | |
# This file was generated from a template using the necronux internal pkl package. | |
# Any changes should be made to the template, not this file. | |
name: CI-Common | |
'on': | |
pull_request: {} | |
push: {} | |
workflow_dispatch: {} | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
conclusion: | |
if: ${{ !cancelled() }} | |
needs: | |
- taplo | |
- typos | |
permissions: | |
contents: none | |
runs-on: ubuntu-latest | |
steps: | |
- name: Conclusion | |
shell: bash | |
run: |- | |
jq -C <<< '${{ toJson(needs) }}' | |
jq --exit-status 'all(.result == "success")' <<< '${{ toJson(needs) }}' | |
typos: | |
name: Typos | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Check for typos | |
uses: crate-ci/typos@v1.29.7 | |
taplo: | |
name: Taplofmt | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install taplo-cli | |
uses: taiki-e/install-action@v2 | |
with: | |
tool: taplo-cli | |
- name: Run Taplo | |
shell: bash | |
run: taplo fmt --check --diff |