Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/actions/setup-cosmosdb-shell/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ runs:
- name: Restore cached shell
id: cache
uses: actions/cache@v4
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: ${{ steps.resolve.outputs.dir }}
key: cosmosdbshell-${{ steps.resolve.outputs.tag }}-${{ steps.platform.outputs.rid }}
Expand Down
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
groups:
github-actions:
patterns: ["*"]
schedule:
interval: "weekly"
cooldown:
default-days: 7
8 changes: 4 additions & 4 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jobs:
name: Offline Integration Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0

- name: Setup .NET
uses: actions/setup-dotnet@v5
uses: actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1 # v5.4.0
with:
global-json-file: global.json
cache: true
Expand Down Expand Up @@ -53,12 +53,12 @@ jobs:
PROTOCOL: https

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

- name: Setup .NET
uses: actions/setup-dotnet@v5
uses: actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1 # v5.4.0
with:
global-json-file: global.json
cache: true
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/validate-and-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,15 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v7
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
# Nerdbank.GitVersioning needs full history to walk back to the
# commit that last changed version.json (the baseline) so it can
# compute the patch as the git height since that commit.
fetch-depth: 0

- name: Setup .NET SDK
uses: actions/setup-dotnet@v5
uses: actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1 # v5.4.0
with:
global-json-file: global.json
cache: true
Expand Down Expand Up @@ -228,7 +228,7 @@ jobs:
(github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.full_name == github.repository) &&
hashFiles('TestResults/coverage/Cobertura.xml') != ''
uses: actions/upload-code-coverage@v1
uses: actions/upload-code-coverage@1c15be36fc3733ba839b1dd643bd9556e4426dc1 # v1.4.1
with:
file: TestResults/coverage/Cobertura.xml
language: C#
Expand All @@ -237,7 +237,7 @@ jobs:

- name: Upload code coverage report
if: always()
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: code-coverage-report
path: TestResults/coverage
Expand All @@ -259,15 +259,15 @@ jobs:

- name: Upload test results
if: always()
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: test-results
path: TestResults
if-no-files-found: ignore

- name: Upload fuzzer findings
if: always()
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: fuzz-findings
path: CosmosDBShell.Fuzzer/findings
Expand Down Expand Up @@ -388,7 +388,7 @@ jobs:
$lines -join "`n" | Out-File -FilePath $summary -Encoding utf8 -Append

- name: Upload pointer package
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: CosmosDBShell-pointer-${{ steps.version.outputs.artifact_suffix }}
path: |
Expand All @@ -402,42 +402,42 @@ jobs:
if-no-files-found: error

- name: Upload win-x64 package
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: CosmosDBShell-win-x64-${{ steps.version.outputs.artifact_suffix }}
path: out/nupkg/CosmosDBShell.win-x64.*.nupkg
if-no-files-found: error

- name: Upload win-arm64 package
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: CosmosDBShell-win-arm64-${{ steps.version.outputs.artifact_suffix }}
path: out/nupkg/CosmosDBShell.win-arm64.*.nupkg
if-no-files-found: error

- name: Upload linux-x64 package
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: CosmosDBShell-linux-x64-${{ steps.version.outputs.artifact_suffix }}
path: out/nupkg/CosmosDBShell.linux-x64.*.nupkg
if-no-files-found: error

- name: Upload linux-arm64 package
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: CosmosDBShell-linux-arm64-${{ steps.version.outputs.artifact_suffix }}
path: out/nupkg/CosmosDBShell.linux-arm64.*.nupkg
if-no-files-found: error

- name: Upload osx-x64 package
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: CosmosDBShell-osx-x64-${{ steps.version.outputs.artifact_suffix }}
path: out/nupkg/CosmosDBShell.osx-x64.*.nupkg
if-no-files-found: error

- name: Upload osx-arm64 package
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: CosmosDBShell-osx-arm64-${{ steps.version.outputs.artifact_suffix }}
path: out/nupkg/CosmosDBShell.osx-arm64.*.nupkg
Expand Down