Bump v0.1.4 (#38) #8
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: Main Workflow | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Download SurrealDB | |
run: curl --proto '=https' --tlsv1.2 -sSf https://install.surrealdb.com | sh | |
- name: Run SurrealDB root | |
run: surreal start --user root --pass root memory --auth --allow-guests & | |
- name: Setup dotnet 6.0 | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: "6.0.x" | |
- name: Install .NET tools | |
run: dotnet tool restore | |
- name: Check Formatting | |
run: dotnet csharpier --check . | |
- name: Install dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --no-restore --warnaserror | |
- name: Test | |
run: dotnet test --no-build |