Skip to content

Updated path to git submodule for homepage theme #142

Updated path to git submodule for homepage theme

Updated path to git submodule for homepage theme #142

Workflow file for this run

name: STEP Format
on:
push:
branches:
- main
paths:
- '**/*.step'
- '.github/workflows/step.yml'
pull_request:
branches:
- main
paths:
- '**/*.step'
env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
jobs:
format:
runs-on: ubuntu-latest
name: Make sure .step files are formatted
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.x
- name: Cache NuGet packages
uses: actions/cache@v3
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-nuget-
- name: Restore dependencies
run: dotnet restore
- name: Run step format
run: dotnet run --project StepLang.CLI/StepLang.CLI.csproj -- format --set-exit-code --dry-run