diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fd37e950c..6fd0cd659 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: matrix: os: [ubuntu-latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup .NET Core uses: actions/setup-dotnet@v3 diff --git a/.github/workflows/docfx.yml b/.github/workflows/docfx.yml index 2b10890a0..edef0c9f5 100644 --- a/.github/workflows/docfx.yml +++ b/.github/workflows/docfx.yml @@ -1,28 +1,28 @@ -name: docfx - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -jobs: - docs: - runs-on: windows-latest - - steps: - - name: check out code - uses: actions/checkout@v3 - - - name: install docfx - # specifying 2.58.5 version as latest release (2.58.8) has an issue - # https://github.com/dotnet/docfx/issues/7689 - run: choco install docfx -y --version=2.58.5 - - - name: build doc metadata - working-directory: docs - run: docfx metadata - - - name: build docs - working-directory: docs - run: docfx docfx.json +name: docfx + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + docs: + runs-on: windows-latest + + steps: + - name: check out code + uses: actions/checkout@v4 + + - name: install docfx + # specifying 2.58.5 version as latest release (2.58.8) has an issue + # https://github.com/dotnet/docfx/issues/7689 + run: choco install docfx -y --version=2.58.5 + + - name: build doc metadata + working-directory: docs + run: docfx metadata + + - name: build docs + working-directory: docs + run: docfx docfx.json diff --git a/.github/workflows/dotnet-format.yml b/.github/workflows/dotnet-format.yml index f366b3082..333b7db50 100644 --- a/.github/workflows/dotnet-format.yml +++ b/.github/workflows/dotnet-format.yml @@ -1,28 +1,28 @@ -name: dotnet format - -on: - push: - branches: [ master ] - paths: - - '**.cs' - - 'src/.editorconfig' - pull_request: - branches: [ master ] - paths: - - '**.cs' - - 'src/.editorconfig' - -jobs: - check_format: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - name: Setup .NET Core - uses: actions/setup-dotnet@v3 - with: - dotnet-version: 8.0.x - - - name: dotnet format - run: dotnet format --verify-no-changes +name: dotnet format + +on: + push: + branches: [ master ] + paths: + - '**.cs' + - 'src/.editorconfig' + pull_request: + branches: [ master ] + paths: + - '**.cs' + - 'src/.editorconfig' + +jobs: + check_format: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Setup .NET Core + uses: actions/setup-dotnet@v3 + with: + dotnet-version: 8.0.x + + - name: dotnet format + run: dotnet format --verify-no-changes working-directory: src \ No newline at end of file diff --git a/.github/workflows/mysql.yml b/.github/workflows/mysql.yml index 76fb03dd1..6d54bca5d 100644 --- a/.github/workflows/mysql.yml +++ b/.github/workflows/mysql.yml @@ -27,7 +27,7 @@ jobs: ports: - 3306:3306 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup .NET Core uses: actions/setup-dotnet@v3 diff --git a/.github/workflows/oracle.yml b/.github/workflows/oracle.yml index 2805df8e3..5b0a86bd7 100644 --- a/.github/workflows/oracle.yml +++ b/.github/workflows/oracle.yml @@ -29,7 +29,7 @@ jobs: ports: - 1521:1521 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup .NET Core uses: actions/setup-dotnet@v3 diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index 03aeb8093..76c2f31ae 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -1,26 +1,26 @@ -name: pack - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -jobs: - pack: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - name: Setup .NET Core - uses: actions/setup-dotnet@v3 - with: - dotnet-version: 8.0.x - - - name: Install dependencies - run: dotnet restore - working-directory: src - - - name: Pack - run: dotnet pack --configuration Release --no-restore - working-directory: src +name: pack + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + pack: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Setup .NET Core + uses: actions/setup-dotnet@v3 + with: + dotnet-version: 8.0.x + + - name: Install dependencies + run: dotnet restore + working-directory: src + + - name: Pack + run: dotnet pack --configuration Release --no-restore + working-directory: src diff --git a/.github/workflows/postgres.yml b/.github/workflows/postgres.yml index 1f017ca00..038a89341 100644 --- a/.github/workflows/postgres.yml +++ b/.github/workflows/postgres.yml @@ -26,7 +26,7 @@ jobs: ports: - 5432:5432 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup .NET Core uses: actions/setup-dotnet@v3 diff --git a/.github/workflows/sql-server.yml b/.github/workflows/sql-server.yml index c0536636f..72d4e09d2 100644 --- a/.github/workflows/sql-server.yml +++ b/.github/workflows/sql-server.yml @@ -27,7 +27,7 @@ jobs: ports: - 1433:1433 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup .NET Core uses: actions/setup-dotnet@v3