diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 196db3c..4154e7b 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,27 +1,30 @@ # yaml-language-server: $schema=https://json.schemastore.org/dependabot-2.0.json version: 2 updates: - - directory: / - package-ecosystem: github-actions - schedule: - interval: daily - timezone: Europe/Copenhagen - time: "12:00" - open-pull-requests-limit: 25 - labels: [] - - directory: / - package-ecosystem: npm - schedule: - interval: daily - timezone: Europe/Copenhagen - time: "12:00" - open-pull-requests-limit: 25 - labels: [] - - directory: / - package-ecosystem: nuget - schedule: - interval: daily - timezone: Europe/Copenhagen - time: "12:00" - open-pull-requests-limit: 25 - labels: [] + - package-ecosystem: github-actions + directories: + - / + schedule: + interval: daily + timezone: Europe/Copenhagen + time: "12:00" + open-pull-requests-limit: 25 + labels: [] + - package-ecosystem: npm + directories: + - / + schedule: + interval: daily + timezone: Europe/Copenhagen + time: "12:00" + open-pull-requests-limit: 25 + labels: [] + - package-ecosystem: nuget + directories: + - / + schedule: + interval: daily + timezone: Europe/Copenhagen + time: "12:00" + open-pull-requests-limit: 25 + labels: [] diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 579d3da..ab52a3d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,37 +1,37 @@ # yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json name: Build on: - pull_request: + pull_request: permissions: - contents: read + contents: read defaults: - run: - shell: bash + run: + shell: bash env: - DOTNET_CLI_TELEMETRY_OPTOUT: true - DOTNET_GENERATE_ASPNET_CERTIFICATE: false - DOTNET_NOLOGO: true + DOTNET_CLI_TELEMETRY_OPTOUT: true + DOTNET_GENERATE_ASPNET_CERTIFICATE: false + DOTNET_NOLOGO: true jobs: - build: - runs-on: ubuntu-22.04 - steps: - - name: Clone repository - uses: actions/checkout@v4.1.4 - with: - fetch-depth: 0 - submodules: recursive - - name: Set up .NET - uses: actions/setup-dotnet@v4.0.0 - - name: Set up Node.js - uses: actions/setup-node@v4.0.2 - - name: Run Cake - run: | - ./cake - - name: Upload artifacts - if: always() - uses: actions/upload-artifact@v4.3.3 - with: - name: ${{ github.workflow }}-${{ github.run_number }}-${{ github.run_attempt }} - path: | - out/bin - out/log + build: + runs-on: ubuntu-22.04 + steps: + - name: Clone repository + uses: actions/checkout@v4.1.4 + with: + fetch-depth: 0 + submodules: recursive + - name: Set up .NET + uses: actions/setup-dotnet@v4.0.0 + - name: Set up Node.js + uses: actions/setup-node@v4.0.2 + - name: Run Cake + run: | + ./cake + - name: Upload artifacts + if: always() + uses: actions/upload-artifact@v4.3.3 + with: + name: ${{ github.workflow }}-${{ github.run_number }}-${{ github.run_attempt }} + path: | + out/bin + out/log diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2135876..29703a1 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,57 +1,57 @@ # yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json name: Deploy on: - push: - branches: - - master - workflow_call: - workflow_dispatch: + push: + branches: + - master + workflow_call: + workflow_dispatch: permissions: - contents: read - id-token: write - pages: write + contents: read + id-token: write + pages: write defaults: - run: - shell: bash + run: + shell: bash env: - DOTNET_CLI_TELEMETRY_OPTOUT: true - DOTNET_GENERATE_ASPNET_CERTIFICATE: false - DOTNET_NOLOGO: true + DOTNET_CLI_TELEMETRY_OPTOUT: true + DOTNET_GENERATE_ASPNET_CERTIFICATE: false + DOTNET_NOLOGO: true concurrency: - group: deploy + group: deploy jobs: - deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-22.04 - steps: - - name: Clone repository - uses: actions/checkout@v4.1.4 - with: - fetch-depth: 0 - submodules: recursive - - name: Set up .NET - uses: actions/setup-dotnet@v4.0.0 - - name: Set up Node.js - uses: actions/setup-node@v4.0.2 - - name: Run Cake - run: | - ./cake - - name: Configure GitHub Pages - uses: actions/configure-pages@v5.0.0 - - name: Upload GitHub Pages artifact - uses: actions/upload-pages-artifact@v3.0.1 - with: - path: out/bin - - name: Deploy GitHub Pages artifact - id: deployment - uses: actions/deploy-pages@v4.0.5 - - name: Upload artifacts - if: always() - uses: actions/upload-artifact@v4.3.3 - with: - name: ${{ github.workflow }}-${{ github.run_number }}-${{ github.run_attempt }} - path: | - out/bin - out/log + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-22.04 + steps: + - name: Clone repository + uses: actions/checkout@v4.1.4 + with: + fetch-depth: 0 + submodules: recursive + - name: Set up .NET + uses: actions/setup-dotnet@v4.0.0 + - name: Set up Node.js + uses: actions/setup-node@v4.0.2 + - name: Run Cake + run: | + ./cake + - name: Configure GitHub Pages + uses: actions/configure-pages@v5.0.0 + - name: Upload GitHub Pages artifact + uses: actions/upload-pages-artifact@v3.0.1 + with: + path: out/bin + - name: Deploy GitHub Pages artifact + id: deployment + uses: actions/deploy-pages@v4.0.5 + - name: Upload artifacts + if: always() + uses: actions/upload-artifact@v4.3.3 + with: + name: ${{ github.workflow }}-${{ github.run_number }}-${{ github.run_attempt }} + path: | + out/bin + out/log