|
|
|
|
@ -33,14 +33,12 @@ jobs:
@@ -33,14 +33,12 @@ jobs:
|
|
|
|
|
name: Lint |
|
|
|
|
runs-on: ubuntu-22.04 |
|
|
|
|
steps: |
|
|
|
|
- name: Set up dotnet |
|
|
|
|
uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 # v3.2.0 |
|
|
|
|
with: |
|
|
|
|
dotnet-version: "6.0.x" |
|
|
|
|
|
|
|
|
|
- name: Checkout repo |
|
|
|
|
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 |
|
|
|
|
|
|
|
|
|
- name: Set up dotnet |
|
|
|
|
uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 # v3.2.0 |
|
|
|
|
|
|
|
|
|
- name: Verify Format |
|
|
|
|
run: dotnet format --verify-no-changes |
|
|
|
|
|
|
|
|
|
@ -50,10 +48,11 @@ jobs:
@@ -50,10 +48,11 @@ jobs:
|
|
|
|
|
env: |
|
|
|
|
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages |
|
|
|
|
steps: |
|
|
|
|
- name: Checkout repo |
|
|
|
|
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 |
|
|
|
|
|
|
|
|
|
- name: Set up dotnet |
|
|
|
|
uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 # v3.2.0 |
|
|
|
|
with: |
|
|
|
|
dotnet-version: "6.0.x" |
|
|
|
|
|
|
|
|
|
- name: Print environment |
|
|
|
|
run: | |
|
|
|
|
@ -62,9 +61,6 @@ jobs:
@@ -62,9 +61,6 @@ jobs:
|
|
|
|
|
echo "GitHub ref: $GITHUB_REF" |
|
|
|
|
echo "GitHub event: $GITHUB_EVENT" |
|
|
|
|
|
|
|
|
|
- name: Checkout repo |
|
|
|
|
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 |
|
|
|
|
|
|
|
|
|
- name: Restore |
|
|
|
|
run: dotnet restore --locked-mode |
|
|
|
|
shell: pwsh |
|
|
|
|
@ -138,14 +134,12 @@ jobs:
@@ -138,14 +134,12 @@ jobs:
|
|
|
|
|
base_path: ./bitwarden_license/src |
|
|
|
|
node: true |
|
|
|
|
steps: |
|
|
|
|
- name: Set up dotnet |
|
|
|
|
uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 # v3.2.0 |
|
|
|
|
with: |
|
|
|
|
dotnet-version: "6.0.x" |
|
|
|
|
|
|
|
|
|
- name: Checkout repo |
|
|
|
|
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 |
|
|
|
|
|
|
|
|
|
- name: Set up dotnet |
|
|
|
|
uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 # v3.2.0 |
|
|
|
|
|
|
|
|
|
- name: Set up Node |
|
|
|
|
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 |
|
|
|
|
with: |
|
|
|
|
@ -342,6 +336,12 @@ jobs:
@@ -342,6 +336,12 @@ jobs:
|
|
|
|
|
runs-on: ubuntu-22.04 |
|
|
|
|
needs: build-docker |
|
|
|
|
steps: |
|
|
|
|
- name: Checkout repo |
|
|
|
|
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 |
|
|
|
|
|
|
|
|
|
- name: Set up dotnet |
|
|
|
|
uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 # v3.2.0 |
|
|
|
|
|
|
|
|
|
- name: Login to Azure - PROD Subscription |
|
|
|
|
uses: Azure/login@92a5484dfaf04ca78a94597f4f19fea633851fa2 # v1.4.7 |
|
|
|
|
with: |
|
|
|
|
@ -350,14 +350,6 @@ jobs:
@@ -350,14 +350,6 @@ jobs:
|
|
|
|
|
- name: Login to PROD ACR |
|
|
|
|
run: az acr login -n $_AZ_REGISTRY --only-show-errors |
|
|
|
|
|
|
|
|
|
- name: Set up dotnet |
|
|
|
|
uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 # v3.2.0 |
|
|
|
|
with: |
|
|
|
|
dotnet-version: "6.0.x" |
|
|
|
|
|
|
|
|
|
- name: Checkout repo |
|
|
|
|
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 |
|
|
|
|
|
|
|
|
|
- name: Restore |
|
|
|
|
run: dotnet tool restore |
|
|
|
|
|
|
|
|
|
@ -483,14 +475,12 @@ jobs:
@@ -483,14 +475,12 @@ jobs:
|
|
|
|
|
- linux-x64 |
|
|
|
|
- win-x64 |
|
|
|
|
steps: |
|
|
|
|
- name: Set up dotnet |
|
|
|
|
uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 # v3.2.0 |
|
|
|
|
with: |
|
|
|
|
dotnet-version: "6.0.x" |
|
|
|
|
|
|
|
|
|
- name: Checkout repo |
|
|
|
|
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 |
|
|
|
|
|
|
|
|
|
- name: Set up dotnet |
|
|
|
|
uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 # v3.2.0 |
|
|
|
|
|
|
|
|
|
- name: Print environment |
|
|
|
|
run: | |
|
|
|
|
whoami |
|
|
|
|
|