Skip to content

Commit

Permalink
Use 2-space indent in YAML.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrp committed May 1, 2024
1 parent 165f819 commit e34b09a
Show file tree
Hide file tree
Showing 4 changed files with 162 additions and 159 deletions.
51 changes: 27 additions & 24 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -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: /doc
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:
- /doc
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: []
120 changes: 60 additions & 60 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,67 +1,67 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Build
on:
push:
branches-ignore:
- dependabot/**
pull_request:
workflow_dispatch:
push:
branches-ignore:
- dependabot/**
pull_request:
workflow_dispatch:
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:
strategy:
fail-fast: false
matrix:
os:
- macos-13
- macos-14
- ubuntu-20.04
- ubuntu-22.04
- windows-2019
- windows-2022
cfg:
- Debug
- Release
runs-on: ${{ matrix.os }}
steps:
- name: Clone repository
uses: actions/[email protected]
with:
fetch-depth: 0
submodules: recursive
- name: Set up .NET
uses: actions/[email protected]
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: doc/package.json
- name: Run Cake
run: |
./cake -c ${{ matrix.cfg }}
- name: Run samples
run: |
dotnet example --all \
--skip cancellation \
--skip control \
--skip cursor \
--skip raw \
--skip scrolling \
--skip signals \
--skip width
- name: Upload artifacts
if: always()
uses: actions/[email protected]
with:
name: ${{ github.workflow }}-${{ github.run_number }}-${{ github.run_attempt }}-${{ matrix.os }}-${{ matrix.cfg }}
path: |
out/log
out/pkg
out/pub
build:
strategy:
fail-fast: false
matrix:
os:
- macos-13
- macos-14
- ubuntu-20.04
- ubuntu-22.04
- windows-2019
- windows-2022
cfg:
- Debug
- Release
runs-on: ${{ matrix.os }}
steps:
- name: Clone repository
uses: actions/[email protected]
with:
fetch-depth: 0
submodules: recursive
- name: Set up .NET
uses: actions/[email protected]
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: doc/package.json
- name: Run Cake
run: |
./cake -c ${{ matrix.cfg }}
- name: Run samples
run: |
dotnet example --all \
--skip cancellation \
--skip control \
--skip cursor \
--skip raw \
--skip scrolling \
--skip signals \
--skip width
- name: Upload artifacts
if: always()
uses: actions/[email protected]
with:
name: ${{ github.workflow }}-${{ github.run_number }}-${{ github.run_attempt }}-${{ matrix.os }}-${{ matrix.cfg }}
path: |
out/log
out/pkg
out/pub
76 changes: 38 additions & 38 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Package
on:
push:
branches:
- master
push:
branches:
- master
permissions:
contents: read
packages: write
contents: read
packages: write
defaults:
run:
shell: bash
run:
shell: bash
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_GENERATE_ASPNET_CERTIFICATE: false
DOTNET_NOLOGO: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_GENERATE_ASPNET_CERTIFICATE: false
DOTNET_NOLOGO: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
package:
if: github.repository == 'vezel-dev/cathode'
runs-on: ubuntu-22.04
steps:
- name: Clone repository
uses: actions/[email protected]
with:
fetch-depth: 0
submodules: recursive
- name: Set up .NET
uses: actions/[email protected]
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: doc/package.json
- name: Run Cake
run: |
./cake upload-core-github
- name: Upload artifacts
if: always()
uses: actions/[email protected]
with:
name: ${{ github.workflow }}-${{ github.run_number }}-${{ github.run_attempt }}
path: |
out/log
out/pkg
out/pub
package:
if: github.repository == 'vezel-dev/cathode'
runs-on: ubuntu-22.04
steps:
- name: Clone repository
uses: actions/[email protected]
with:
fetch-depth: 0
submodules: recursive
- name: Set up .NET
uses: actions/[email protected]
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: doc/package.json
- name: Run Cake
run: |
./cake upload-core-github
- name: Upload artifacts
if: always()
uses: actions/[email protected]
with:
name: ${{ github.workflow }}-${{ github.run_number }}-${{ github.run_attempt }}
path: |
out/log
out/pkg
out/pub
74 changes: 37 additions & 37 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Release
on:
release:
types:
- published
release:
types:
- published
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
NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }}
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_GENERATE_ASPNET_CERTIFICATE: false
DOTNET_NOLOGO: true
NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }}
jobs:
release:
if: github.repository == 'vezel-dev/cathode'
runs-on: ubuntu-22.04
steps:
- name: Clone repository
uses: actions/[email protected]
with:
fetch-depth: 0
submodules: recursive
- name: Set up .NET
uses: actions/[email protected]
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: doc/package.json
- name: Run Cake
run: |
./cake upload-core-nuget -c Release
- name: Upload artifacts
if: always()
uses: actions/[email protected]
with:
name: ${{ github.workflow }}-${{ github.run_number }}-${{ github.run_attempt }}
path: |
out/log
out/pkg
out/pub
release:
if: github.repository == 'vezel-dev/cathode'
runs-on: ubuntu-22.04
steps:
- name: Clone repository
uses: actions/[email protected]
with:
fetch-depth: 0
submodules: recursive
- name: Set up .NET
uses: actions/[email protected]
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: doc/package.json
- name: Run Cake
run: |
./cake upload-core-nuget -c Release
- name: Upload artifacts
if: always()
uses: actions/[email protected]
with:
name: ${{ github.workflow }}-${{ github.run_number }}-${{ github.run_attempt }}
path: |
out/log
out/pkg
out/pub

0 comments on commit e34b09a

Please sign in to comment.