Skip to content

Commit

Permalink
chore(deps): update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] committed Oct 23, 2023
1 parent 99f57cd commit 9f3b850
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 27 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- run: npm i -g pnpm @antfu/ni

- name: Setup Node.js
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
with:
node-version: 18.x
cache: pnpm
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
if: ${{ failure() && steps.check-diff.conclusion == 'failure' }}
run: |
git diff > patch-cpp.diff
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3
if: ${{ failure() && steps.check-diff.conclusion == 'failure' }}
with:
name: patch-cpp
Expand All @@ -139,11 +139,11 @@ jobs:
name: Lint JS
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
with:
fetch-depth: 0
- run: corepack enable
- uses: actions/setup-node@v3
- uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
with:
node-version: 20
cache: pnpm
Expand All @@ -166,7 +166,7 @@ jobs:
- run: npm i -g pnpm @antfu/ni

- name: Setup Node.js
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
with:
node-version: 18.x
cache: pnpm
Expand Down Expand Up @@ -197,7 +197,7 @@ jobs:
- run: npm i -g pnpm @antfu/ni

- name: Setup Node.js
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
with:
node-version: 18.x
cache: pnpm
Expand Down Expand Up @@ -235,19 +235,19 @@ jobs:
run: python -m pytest tests --cov=armonik --cov-config=.coveragerc --cov-report=term-missing --cov-report xml:coverage.xml --cov-report html:coverage_report

- name: Get Cover
uses: orgoro/coverage@6d7a2607343d2abeab89ef40b54ec9785134e313
uses: orgoro/coverage@c65003f41276ea33fe3a3a5d53df8b340462e8fa
with:
coverageFile: packages/python/coverage.xml
token: ${{ secrets.GITHUB_TOKEN }}

- name: Archive code coverage results html
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3
with:
name: code-coverage-report-html
path: packages/python/coverage_report

- name: Archive code coverage results xml
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3
with:
name: code-coverage-report-xml
path: packages/python/coverage.xml
Expand All @@ -270,7 +270,7 @@ jobs:
cd packages/cpp/tools/packaging
./make-${{ matrix.type }}.sh
- name: Publish package as artefact
uses: actions/upload-artifact@65d862660abb392b8c4a3d1195a2108db131dd05
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
with:
if-no-files-found: error
path: packages/cpp/tools/packaging/*.${{ matrix.type }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- run: npm i -g pnpm @antfu/ni

- name: Setup Node
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
with:
node-version: '18'
cache: pnpm
Expand All @@ -37,7 +37,7 @@ jobs:
# This will be used to avoid the use of the docker image to generate the documentation if the proto files have not changed
- name: Cache Generated Docs from Protos
id: proto-cache
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3
with:
path: .docs/content/api/*.md
key: proto-v1-${{ hashFiles('Protos/V1/**.proto') }}
Expand Down Expand Up @@ -70,15 +70,15 @@ jobs:
# Restore API proto documentation
- name: Cache Generated Docs from Protos
id: proto-cache
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3
with:
path: .docs/content/api/*.md
key: proto-v1-${{ hashFiles('Protos/V1/**.proto') }}

- run: npm i -g pnpm @antfu/ni

- name: Setup Node
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
with:
node-version: '18'
cache: pnpm
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish-edge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ jobs:

- run: npm i -g @antfu/ni pnpm

- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
- uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
with:
node-version: 18
cache: pnpm
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:

- run: npm i -g @antfu/ni pnpm

- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
- uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
with:
node-version: 18
cache: pnpm
Expand Down Expand Up @@ -211,7 +211,7 @@ jobs:
run: bash proto2python.sh ~/pyvenv

- name: Upload as artifact
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3
with:
name: python-packages
path: packages/python/pkg/
Expand Down Expand Up @@ -252,7 +252,7 @@ jobs:
cd packages/cpp/tools/packaging
./make-${{ matrix.type }}.sh
- name: Publish package as artefact
uses: actions/upload-artifact@65d862660abb392b8c4a3d1195a2108db131dd05
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
with:
if-no-files-found: error
path: packages/cpp/tools/packaging/*.${{ matrix.type }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- run: npm i -g pnpm @antfu/ni

- name: Setup Node.js
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
with:
node-version: 18.x
cache: pnpm
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
bash proto2python.sh ~/pyvenv
- name: Upload as artifact
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3
with:
name: python-packages
path: packages/python/pkg/
Expand All @@ -108,7 +108,7 @@ jobs:

- run: npm i -g pnpm @antfu/ni

- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
- uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
with:
node-version: 18
cache: pnpm
Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:

- run: npm i -g pnpm @antfu/ni

- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
- uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
with:
node-version: 18
cache: pnpm
Expand Down Expand Up @@ -186,7 +186,7 @@ jobs:
cd packages/cpp/tools/packaging
./make-${{ matrix.type }}.sh
- name: Publish package as artefact
uses: actions/upload-artifact@65d862660abb392b8c4a3d1195a2108db131dd05
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
with:
if-no-files-found: error
path: packages/cpp/tools/packaging/*.${{ matrix.type }}
Expand All @@ -206,7 +206,7 @@ jobs:
fetch-depth: 0

- name: Set node
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
with:
node-version: 18

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/validate-docs-generation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- run: npm i -g pnpm @antfu/ni

- name: Setup Node
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
with:
node-version: 18
cache: pnpm
Expand All @@ -43,7 +43,7 @@ jobs:

- run: npm i -g pnpm @antfu/ni

- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
- uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
with:
node-version: 18
cache: pnpm
Expand All @@ -61,7 +61,7 @@ jobs:

- run: npm i -g pnpm @antfu/ni

- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
- uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
with:
node-version: 18
cache: pnpm
Expand Down

0 comments on commit 9f3b850

Please sign in to comment.