Support inline expression with casting #2480
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
name: lint | |
on: | |
pull_request: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint-dotnet: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-dotnet@v4 | |
- run: dotnet tool restore | |
- run: dotnet csharpier --check . | |
# don't run dotnet format for whitespace formatting as this is done by csharpier | |
- run: dotnet format style --verify-no-changes | |
- run: dotnet format analyzers --verify-no-changes | |
superlinter: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: github/super-linter/slim@v6 | |
env: | |
VALIDATE_ALL_CODEBASE: false | |
DEFAULT_BRANCH: main | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
VALIDATE_BASH: true | |
VALIDATE_BASH_EXEC: true | |
VALIDATE_EDITORCONFIG: true | |
VALIDATE_GITHUB_ACTIONS: true | |
VALIDATE_JSON: true | |
VALIDATE_MARKDOWN: true | |
VALIDATE_NATURAL_LANGUAGE: true | |
VALIDATE_SHELL_SHFMT: true | |
VALIDATE_YAML: true | |
# exclusions: | |
# LICENSE: 1:1 copy of the license text | |
# sln files: Usually edited by the IDE | |
# AnalyzerReleases.Shipped.md and Analyzer.Unshipped.md: their structure is predefined by its analyzer | |
# _snapshots: Snapshots are generated and should not be linted | |
FILTER_REGEX_EXCLUDE: 'LICENSE|.*.sln|src/Riok\.Mapperly/AnalyzerReleases\..*\.md|.*_snapshots.*' |