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/artifacts-attest/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ runs:
using: 'composite'
steps:
- name: 'Attestation'
uses: actions/attest-build-provenance@v4.1.0
uses: actions/attest-build-provenance@0f67c3f4856b2e3261c31976d6725780e5e4c373 # v4.1.1
with:
subject-path: |
${{ github.workspace }}/artifacts/packages/native
Expand Down
8 changes: 4 additions & 4 deletions .github/actions/artifacts-restore/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,25 @@ description: 'Artifacts restore'
runs:
using: 'composite'
steps:
- uses: actions/download-artifact@v8
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
name: Download native linux packages
with:
name: native-Linux
path: ${{ github.workspace }}/artifacts/packages/native

- uses: actions/download-artifact@v8
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
name: Download native windows packages
with:
name: native-Windows
path: ${{ github.workspace }}/artifacts/packages/native

- uses: actions/download-artifact@v8
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
name: Download native macos packages
with:
name: native-macOS
path: ${{ github.workspace }}/artifacts/packages/native

- uses: actions/download-artifact@v8
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
name: Download nuget packages
with:
name: nuget
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/cache-restore/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ runs:
steps:
- name: Use cached cake frosting
id: cache-cake
uses: actions/cache@v5
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: run
key: run-${{ runner.os }}-${{ hashFiles('./build/**') }}

- name: Use cached tools
id: cache-tools
uses: actions/cache@v5
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: tools
key: tools-${{ runner.os }}-${{ hashFiles('./build/**') }}

- name: Setup .NET SDK
uses: actions/setup-dotnet@v5
uses: actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1 # v5.4.0
with:
global-json-file: global.json
4 changes: 2 additions & 2 deletions .github/actions/docker-manifests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ runs:
using: 'composite'
steps:
- name: Login to DockerHub
uses: docker/login-action@v4
uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4.2.0
with:
username: ${{ inputs.docker_registry_username }}
password: ${{ inputs.docker_registry_password }}
Expand All @@ -40,7 +40,7 @@ runs:
--docker_distro=$env:DOCKER_DISTRO --docker_registry dockerhub

- name: Login to GitHub
uses: docker/login-action@v4
uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4.2.0
with:
registry: ghcr.io
username: ${{ inputs.github_registry_username }}
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/docker-publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ runs:
using: 'composite'
steps:
- name: Login to DockerHub
uses: docker/login-action@v4
uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4.2.0
with:
username: ${{ inputs.docker_registry_username }}
password: ${{ inputs.docker_registry_password }}
Expand All @@ -44,7 +44,7 @@ runs:
--docker_distro=$env:DOCKER_DISTRO --docker_registry dockerhub --verbosity=diagnostic

- name: Login to GitHub
uses: docker/login-action@v4
uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4.2.0
with:
registry: ghcr.io
username: ${{ inputs.github_registry_username }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/docker-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ runs:
using: 'composite'
steps:
- name: Set up Docker
uses: docker/setup-docker-action@v5
uses: docker/setup-docker-action@0234bb73ccb40f0c430b795634f9247e2b5c2d23 # v5.2.0
with:
daemon-config: '{ "features": { "containerd-snapshotter": true } }'
4 changes: 2 additions & 2 deletions .github/actions/docker-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ runs:
using: 'composite'
steps:
- name: '[Docker Build & Test] DockerHub'
uses: nick-fields/retry@v4
uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
with:
shell: pwsh
timeout_minutes: 30
Expand All @@ -27,7 +27,7 @@ runs:
--docker_distro=${{ inputs.docker_distro }} --docker_registry dockerhub --verbosity=diagnostic

- name: '[Docker Build & Test] GitHub'
uses: nick-fields/retry@v4
uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
with:
shell: pwsh
timeout_minutes: 30
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/_artifacts_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,20 @@ jobs:
dotnet_version: ${{ fromJson(inputs.dotnet_versions) }}
steps:
- name: Checkout
uses: actions/checkout@v7
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0

- name: Restore State
uses: ./.github/actions/cache-restore

- uses: actions/download-artifact@v8
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
name: Download nuget packages
with:
name: nuget
path: ${{ github.workspace }}/artifacts/packages/nuget

- uses: actions/download-artifact@v8
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
name: Download native packages
with:
name: native-Linux
Expand All @@ -52,7 +52,7 @@ jobs:
uses: ./.github/actions/docker-setup

- name: '[Test Artifacts]'
uses: nick-fields/retry@v4
uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
with:
shell: pwsh
timeout_minutes: 30
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/_artifacts_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v7
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0

- name: Restore State
uses: ./.github/actions/cache-restore

- uses: actions/download-artifact@v8
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
name: Download nuget packages
with:
name: nuget
path: ${{ github.workspace }}/artifacts/packages/nuget

- name: '[Test Artifacts]'
uses: nick-fields/retry@v4
uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
with:
shell: pwsh
timeout_minutes: 30
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v7
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0

Expand All @@ -28,21 +28,21 @@ jobs:
run: dotnet run/build.dll --target=Package

- name: 'Upload nuget packages'
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if: matrix.os == 'windows-2025-vs2026'
with:
name: nuget
path: ${{ github.workspace }}/artifacts/packages/nuget

- name: 'Upload native packages'
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if: matrix.os == 'windows-2025-vs2026'
with:
name: native-${{ runner.os }}
path: ${{ github.workspace }}/artifacts/packages/native/*.zip

- name: 'Upload native packages'
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if: matrix.os != 'windows-2025-vs2026'
with:
name: native-${{ runner.os }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ jobs:
dotnet_version: ${{ fromJson(inputs.dotnet_versions) }}
steps:
- name: Checkout
uses: actions/checkout@v7
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0

- name: Restore State
uses: ./.github/actions/cache-restore

- uses: actions/download-artifact@v8
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
name: Download nuget packages
with:
name: nuget
Expand All @@ -62,7 +62,7 @@ jobs:
- name: Load DockerHub credentials
id: dockerhub-creds
if: success() && inputs.publish_images
uses: gittools/cicd/dockerhub-creds@v5
uses: gittools/cicd/dockerhub-creds@824c3d773fb5d1b00c26b474ae88b7ce9ae555ee # v5
with:
op_service_account_token: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_docker_manifests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
dotnet_version: ${{ fromJson(inputs.dotnet_versions) }}
steps:
- name: Checkout
uses: actions/checkout@v7
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0

Expand All @@ -42,7 +42,7 @@ jobs:
- name: Load DockerHub credentials
if: inputs.publish_manifests
id: dockerhub-creds
uses: gittools/cicd/dockerhub-creds@v5
uses: gittools/cicd/dockerhub-creds@824c3d773fb5d1b00c26b474ae88b7ce9ae555ee # v5
with:
op_service_account_token: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/_prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,24 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v7
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0

- name: Cache cake frosting
id: cache-cake
uses: actions/cache@v6
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: run
key: run-${{ runner.os }}-${{ hashFiles('./build/**') }}

- name: Use cached tools
id: cache-tools
uses: actions/cache@v6
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: tools
key: tools-${{ runner.os }}-${{ hashFiles('./build/**') }}

- name: Setup .NET SDK
uses: actions/setup-dotnet@v5
uses: actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1 # v5.4.0
with:
global-json-file: global.json

Expand All @@ -60,7 +60,7 @@ jobs:
dotnet_versions: ${{ steps.set_matrix.outputs.dotnet_versions }}
steps:
- name: Checkout
uses: actions/checkout@v7
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0

- name: Restore State
uses: ./.github/actions/cache-restore
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v7
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0

- name: Restore State
uses: ./.github/actions/cache-restore

- uses: actions/download-artifact@v8
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
name: Download nuget packages
with:
name: nuget
Expand All @@ -40,14 +40,14 @@ jobs:
- name: Load NuGet credentials
id: nuget-creds
if: inputs.publish_packages
uses: gittools/cicd/nuget-creds@v5
uses: gittools/cicd/nuget-creds@824c3d773fb5d1b00c26b474ae88b7ce9ae555ee # v5
with:
op_service_account_token: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}

- name: Load Chocolatey credentials
id: choco-creds
if: inputs.publish_packages
uses: gittools/cicd/choco-creds@v5
uses: gittools/cicd/choco-creds@824c3d773fb5d1b00c26b474ae88b7ce9ae555ee # v5
with:
op_service_account_token: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v7
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0
- name: Restore State
uses: ./.github/actions/cache-restore

- name: '[Unit Test]'
uses: nick-fields/retry@v4
uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
with:
shell: pwsh
timeout_minutes: 30
Expand All @@ -41,21 +41,21 @@ jobs:
command: 'dotnet run/build.dll --target=UnitTest --dotnet_version=${{ matrix.dotnet_version }}'

- name: Test Summary
uses: test-summary/action@v2.6
uses: test-summary/action@37b508cfee6d4d080eedd00b5bb240a6a784a6a5 # v2.6
if: always() && matrix.dotnet_version == '10.0'
with:
paths: artifacts/test-results/**/results.xml

- name: Upload Coverage
uses: codecov/codecov-action@v7
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
if: success() && inputs.publish_coverage && matrix.dotnet_version == '10.0'
with:
files: artifacts/test-results/**/results.xml
report_type: 'test_results'
use_oidc: true

- name: Upload Coverage
uses: codecov/codecov-action@v7
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
if: success() && inputs.publish_coverage && matrix.dotnet_version == '10.0'
with:
directory: artifacts/test-results
Expand Down
Loading
Loading