Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/buildtest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,3 +168,17 @@ jobs:
on:
pull_request:
types: [assigned, opened, synchronize, reopened]
paths:
- 'src/**'
- 'tests/**'
- 'examples/**'
- '.github/e2e/**'
- '*.props'
- '*.targets'
- '*.ruleset'
- 'Directory.*'
- 'CodeCoverage.runsettings'
- 'global.json'
- 'nuget.config'
Comment on lines +179 to +182
- 'kubernetes-client.proj'
- '.github/workflows/buildtest.yaml'
32 changes: 28 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,33 @@ permissions:
on:
push:
branches: [ master ]
paths:
- 'src/**'
- 'tests/**'
- 'examples/**'
- '*.props'
- '*.targets'
- '*.ruleset'
- 'Directory.*'
- 'global.json'
- 'nuget.config'
Comment on lines +18 to +20
- 'swagger.json'
- '.github/workflows/codeql-analysis.yml'
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
paths:
- 'src/**'
- 'tests/**'
- 'examples/**'
- '*.props'
- '*.targets'
- '*.ruleset'
- 'Directory.*'
- 'global.json'
- 'nuget.config'
- 'swagger.json'
- '.github/workflows/codeql-analysis.yml'
schedule:
- cron: '15 23 * * 1'

Expand All @@ -26,12 +50,12 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0

- name: Setup dotnet
uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
with:
dotnet-version: |
8.0.x
Expand All @@ -40,7 +64,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v4.37.0
uses: github/codeql-action/init@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v4.37.0
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -60,4 +84,4 @@ jobs:
run: dotnet build --configuration Debug --no-restore

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v4.37.0
uses: github/codeql-action/analyze@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v4.37.0
9 changes: 7 additions & 2 deletions .github/workflows/docfx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ name: Docfx
on:
push:
branches: [ master ]
paths:
- 'doc/**'
- 'src/**'
- 'README.md'
- '.github/workflows/docfx.yaml'
Comment on lines +7 to +10

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -25,12 +30,12 @@ jobs:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0

- name: Setup dotnet
uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
with:
dotnet-version: |
8.0.x
Expand Down
19 changes: 16 additions & 3 deletions .github/workflows/draft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,32 @@ permissions:
on:
push:
branches: [ master ]
paths:
- 'src/**'
- 'tests/**'
- 'examples/**'
- '*.props'
- '*.targets'
- '*.ruleset'
- 'Directory.*'
- 'global.json'
- 'nuget.config'
Comment on lines +16 to +18
- 'version.json'
- 'kubernetes-client.proj'
- '.github/workflows/draft.yaml'

jobs:
draft:

runs-on: windows-latest

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0

- name: Setup dotnet
uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
with:
dotnet-version: |
8.0.x
Expand All @@ -31,7 +44,7 @@ jobs:
- name: dotnet test
run: dotnet test

- uses: dotnet/nbgv@705dad19ab067f12f4e9eeaa60812e01edef5d25 # v0.5.2
- uses: dotnet/nbgv@705dad19ab067f12f4e9eeaa60812e01edef5d25 # v0.5.2
with:
setAllVars: true

Expand Down
Loading