Skip to content

Commit 9b0fcfd

Browse files
[APIPUB-90] Update the deprecated packages (#91)
1 parent 4be38b6 commit 9b0fcfd

7 files changed

Lines changed: 17 additions & 17 deletions

File tree

.github/workflows/after-pullrequest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929

3030
steps:
3131
- name: Download and Extract Artifacts
32-
uses: dawidd6/action-download-artifact@71072fbb1229e1317f1a8de6b04206afb461bd67 # v3.1.2
32+
uses: dawidd6/action-download-artifact@80620a5d27ce0ae443b965134db88467fc607b43 # v7
3333
with:
3434
run_id: ${{ github.event.workflow_run.id }}
3535
path: artifacts
@@ -40,4 +40,4 @@ jobs:
4040
commit: ${{ github.event.workflow_run.head_sha }}
4141
event_file: artifacts/Event File/event.json
4242
event_name: ${{ github.event.workflow_run.event }}
43-
files: "artifacts/**/*.trx"
43+
files: "artifacts/**/*.trx"

.github/workflows/on-prerelease.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
"api-pub-semver=$($appVersion -Replace $appPrefix)" >> $env:GITHUB_OUTPUT
5252
5353
- name: Setup .NET
54-
uses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a # v3.0.3
54+
uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2
5555
with:
5656
dotnet-version: 8.0.x
5757

@@ -64,7 +64,7 @@ jobs:
6464
-Version $appVersion
6565
6666
- name: Setup Nuget.exe
67-
uses: nuget/setup-nuget@a21f25cd3998bf370fde17e3f1b4c12c175172f9 #v2.0.0
67+
uses: nuget/setup-nuget@323ab0502cd38fdc493335025a96c8fdb0edc71f #v2.0.1
6868

6969
- name: Create NuGet Packages
7070
if: success()
@@ -105,7 +105,7 @@ jobs:
105105
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
106106

107107
- name: Get Artifacts
108-
uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 #v4.1.1
108+
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 #v4.1.8
109109
with:
110110
name: ${{ env.PACKAGE_NAME }}-NuGet
111111

@@ -114,7 +114,7 @@ jobs:
114114
run: |
115115
$packageName = "${{ env.PACKAGE_NAME }}"
116116
$version = "${{ needs.pack.outputs.data-import-version }}"
117-
117+
118118
$url = "https://github.com/microsoft/sbom-tool/releases/latest/download/sbom-tool-linux-x64"
119119
$out = "$($env:RUNNER_TEMP)/sbom-tool"
120120
Invoke-RestMethod -Uri $url -OutFile $out
@@ -205,7 +205,7 @@ jobs:
205205
actions: read
206206
id-token: write
207207
contents: write
208-
uses: Ed-Fi-Alliance-OSS/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@main
208+
uses: Ed-Fi-Alliance-OSS/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v2.0.0
209209
with:
210210
base64-subjects: ${{ needs.pack.outputs.hash-code }}
211211
provenance-name: EdFi.ApiPublisher.intoto.jsonl
@@ -224,7 +224,7 @@ jobs:
224224
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
225225

226226
- name: Get Artifact
227-
uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 #v4.1.1
227+
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 #v4.1.8
228228
with:
229229
name: ${{ env.PACKAGE_NAME }}-NuGet
230230

.github/workflows/on-pullrequest-dockerfile.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
run: |
4949
FEED="9f7770ac-66d9-4fbc-b81e-b5ad79002b62"
5050
PACKAGE="2d9cb68f-2115-4791-a207-c6ae35d71e8d"
51-
51+
5252
VERSIONS=$(curl https://feeds.dev.azure.com/ed-fi-alliance/$FEED/_apis/Packaging/Feeds/EdFi/Packages/$PACKAGE)
5353
LATEST=$(echo $VERSIONS | jq '.versions[] | select(.isLatest == true) | .version')
5454
echo "latest version: $LATEST"
@@ -61,7 +61,7 @@ jobs:
6161
failure-threshold: error
6262

6363
- name: Log in to Docker Hub
64-
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
64+
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
6565
with:
6666
username: ${{ env.DOCKER_USERNAME }}
6767
password: ${{ env.DOCKER_HUB_TOKEN }}
@@ -86,6 +86,6 @@ jobs:
8686
- name: Upload SARIF result
8787
id: upload-sarif
8888
if: ${{ github.event_name != 'pull_request_target' }}
89-
uses: github/codeql-action/upload-sarif@cf7e9f23492505046de9a37830c3711dd0f25bb3 #codeql-bundle-v2.16.2
89+
uses: github/codeql-action/upload-sarif@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 #codeql-bundle-v3.28.0
9090
with:
9191
sarif_file: sarif-${{ matrix.dockerfile.name }}.output.json

.github/workflows/on-pullrequest.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
3737

3838
- name: Setup .NET
39-
uses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a # v3.0.3
39+
uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2
4040
with:
4141
dotnet-version: 8.0.x
4242

@@ -58,7 +58,7 @@ jobs:
5858
uses: actions/dependency-review-action@9129d7d40b8c12c1ed0f60400d00c92d437adcce # v4.1.3
5959
- name: Initialize CodeQL
6060
if: success()
61-
uses: github/codeql-action/init@cf7e9f23492505046de9a37830c3711dd0f25bb3 # codeql-bundle-v2.16.2
61+
uses: github/codeql-action/init@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # codeql-bundle-v3.28.0
6262
with:
6363
languages: csharp
6464

@@ -67,7 +67,7 @@ jobs:
6767

6868
- name: Perform CodeQL Analysis
6969
if: success()
70-
uses: github/codeql-action/analyze@cf7e9f23492505046de9a37830c3711dd0f25bb3 # codeql-bundle-v2.16.2
70+
uses: github/codeql-action/analyze@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # codeql-bundle-v3.28.0
7171

7272
event_file:
7373
name: "Event File"

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,6 @@ jobs:
6161

6262
# Upload the results to GitHub's code scanning dashboard.
6363
- name: Upload to code-scanning
64-
uses: github/codeql-action/upload-sarif@cf7e9f23492505046de9a37830c3711dd0f25bb3 # codeql-bundle-v2.16.2
64+
uses: github/codeql-action/upload-sarif@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 #codeql-bundle-v3.28.0
6565
with:
6666
sarif_file: scorecard.sarif

src/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ COPY ./Docker/plainTextNamedConnections.template.json /app/plainTextNamedConnect
2222
COPY ./Docker/run.sh /app/run.sh
2323

2424
RUN apk update && \
25-
apk --no-cache add --upgrade unzip=~6 dos2unix=~7 bash=~5 gettext=~0 openssl=3.3.2-r0 postgresql16-client=~16 icu=~74 curl=~8 && \
25+
apk --no-cache add --upgrade unzip=~6 dos2unix=~7 bash=~5 gettext=~0 openssl=3.3.2-r1 postgresql16-client=~16 icu=~74 curl=~8 && \
2626
wget -nv -O /app/ApiPublisher.zip https://pkgs.dev.azure.com/ed-fi-alliance/Ed-Fi-Alliance-OSS/_apis/packaging/feeds/EdFi/nuget/packages/EdFi.ApiPublisher/versions/${VERSION}/content && \
2727
unzip /app/ApiPublisher.zip 'EdFi.ApiPublisher/**' -d /app/ && \
2828
mv /app/EdFi.ApiPublisher/* /app/ && \

src/dev.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ COPY ./Docker/logging.template.json /app/logging.template.json
5353
COPY ./Docker/plainTextNamedConnections.template.json /app/plainTextNamedConnections.template.json
5454
COPY ./Docker/run.sh /app/run.sh
5555

56-
RUN apk --no-cache add --upgrade unzip=~6 dos2unix=~7 bash=~5 openssl=3.3.2-r0 gettext=~0 icu=~74 curl=~8 && \
56+
RUN apk --no-cache add --upgrade unzip=~6 dos2unix=~7 bash=~5 openssl=3.3.2-r1 gettext=~0 icu=~74 curl=~8 && \
5757
dos2unix /app/*.json && \
5858
dos2unix /app/*.sh && \
5959
chmod 700 /app/*.sh -- ** && \

0 commit comments

Comments
 (0)