Skip to content

Celestial v0.2

Celestial v0.2 #64

Workflow file for this run

#
# This file is part of Celestial (https://github.com/OpenFogStack/celestial).
# Copyright (c) 2024 Tobias Pfandzelter, The OpenFogStack Team.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
name: Code Quality
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [main]
pull_request:
branches: [main]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: mypy-check
uses: theCapypara/mypy-check@master
with:
path: ""
requirements: types-toml
mypy_flags: "-p celestial --config setup.cfg"
- name: mypy-check2
uses: theCapypara/mypy-check@master
with:
requirements: types-toml numpy types-request mypy-protobuf
path: "*.py"
mypy_flags: "--config setup.cfg"
go:
name: go
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: latest
markdown:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: markdownlint-cli
uses: nosborn/[email protected]
with:
files: README.md
config_file: " .markdownlint.json"