From 2439d017efaee2ae3a3a3ea8d71c1402f9272529 Mon Sep 17 00:00:00 2001 From: "Daniel J. Summers" Date: Sat, 23 Mar 2024 21:06:49 -0400 Subject: [PATCH] Fix indents in CI YAML --- .github/workflows/ci.yml | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a40ae15..92a79d7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,9 +1,11 @@ name: Continuous Integration on: push: - branches: [ "main" ] + branches: + - main pull_request: - branches: [ "main" ] + branches: + - main workflow_dispatch: env: MWL_TEST_RETHINK_URI: rethinkdb://localhost/mwl_test @@ -15,9 +17,9 @@ jobs: strategy: matrix: dotnet-version: - - "6.0" - - "7.0" - - "8.0" + - "6.0" + - "7.0" + - "8.0" services: postgres: @@ -34,22 +36,21 @@ jobs: rethink: image: rethinkdb:latest ports: - - 28015:28015 - - 29015:29015 + - 28015:28015 steps: - - name: Check Out Code - uses: actions/checkout@v4 - - name: Setup .NET Core SDK - uses: actions/setup-dotnet@v4.0.0 - with: - dotnet-version: 8.x - - name: Restore dependencies - run: dotnet restore src/MyWebLog.sln - - name: Build (${{ matrix.dotnet-version }}) - run: dotnet build src/MyWebLog.sln -f net${{ matrix.dotnet-version }} - - name: Test (${{ matrix.dotnet-version }}) - run: cd src/MyWebLog.Tests; dotnet run -f net${{ matrix.dotnet-version }} + - name: Check Out Code + uses: actions/checkout@v4 + - name: Setup .NET Core SDK + uses: actions/setup-dotnet@v4.0.0 + with: + dotnet-version: 8.x + - name: Restore dependencies + run: dotnet restore src/MyWebLog.sln + - name: Build (${{ matrix.dotnet-version }}) + run: dotnet build src/MyWebLog.sln -f net${{ matrix.dotnet-version }} + - name: Test (${{ matrix.dotnet-version }}) + run: cd src/MyWebLog.Tests; dotnet run -f net${{ matrix.dotnet-version }} publish: name: Publish Packages