Skip to content

Try exact version of .NET #2

Try exact version of .NET

Try exact version of .NET #2

name: Build / Lint / Format Check
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: "8.x"
- run: dotnet build
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: "8.0.300"
- name: Install Tools
run: dotnet tool restore
- run: dotnet dotnet-fsharplint lint JimBroBot.fsproj
format_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: "8.x"
- name: Install Tools
run: dotnet tool restore
- run: dotnet fantomas --check .