Skip to content

CI/CD: many Azure stuff (#27) #25

CI/CD: many Azure stuff (#27)

CI/CD: many Azure stuff (#27) #25

Workflow file for this run

# This workflow executes several linters on changed files based on languages used in your code base whenever
# you push a code or open a pull request.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/github/super-linter
name: Lint Code Base
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- main
pull_request:
branches:
- main
permissions:
checks: write
contents: write
jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Run linters
uses: wearerequired/lint-action@v2
with:
auto_fix: true
dotnet_format: true
dotnet_format_auto_fix: true