Bump black from 22.12.0 to 24.3.0 (#114) #214
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: Build and Test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: | | |
6.x | |
8.x | |
- name: Setup dotnet tools | |
run: dotnet tool restore | |
- name: Install src dependencies | |
run: dotnet restore src | |
- name: Install test dependencies | |
run: dotnet restore test | |
- name: Install pytest runner | |
run: pip install pytest | |
- name: Install build dependencies | |
run: dotnet restore Build.fsproj | |
#- name: Check formatting | |
# run: dotnet fantomas . -r --check | |
- name: Build | |
run: dotnet run Build --configuration Release --no-restore | |
- name: Install dependencies | |
run: | | |
pip install poetry | |
poetry install | |
- name: Test | |
run: dotnet run Test |