Skip to content

Commit

Permalink
ci: updated actions
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexAegis committed Sep 16, 2023
1 parent e0b7f81 commit 484c6e2
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
node-version: [20.x]
lint-kind: [tsc, es, md, format, style, svelte, depcheck]
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: setup node.js ${{ matrix.node-version }}
Expand Down Expand Up @@ -73,10 +73,10 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
node-version: [20.x]
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
if: vars.PAGES_DEPLOY_ARTIFACT_BUILDING_JOB == 'typedoc'
with:
fetch-depth: 1
Expand Down Expand Up @@ -121,14 +121,14 @@ jobs:
run: |
cp ${{ vars.PAGES_DEPLOY_ARTIFACT_DIR }}/index.html ${{ vars.PAGES_DEPLOY_ARTIFACT_DIR }}/404.html
- name: setup pages
uses: actions/configure-pages@v2
uses: actions/configure-pages@v3
if: |
vars.PAGES_DEPLOY_ARTIFACT_BUILDING_JOB == 'typedoc' &&
vars.PAGES_DEPLOY_ARTIFACT_DIR != '' &&
github.ref_name == github.event.repository.default_branch &&
github.event_name != 'pull_request'
- name: upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v2
if: |
vars.PAGES_DEPLOY_ARTIFACT_BUILDING_JOB == 'typedoc' &&
vars.PAGES_DEPLOY_ARTIFACT_DIR != '' &&
Expand All @@ -141,10 +141,10 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
node-version: [20.x]
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: setup node.js ${{ matrix.node-version }}
Expand Down Expand Up @@ -193,14 +193,14 @@ jobs:
run: |
cp ${{ vars.PAGES_DEPLOY_ARTIFACT_DIR }}/index.html ${{ vars.PAGES_DEPLOY_ARTIFACT_DIR }}/404.html
- name: setup pages
uses: actions/configure-pages@v2
uses: actions/configure-pages@v3
if: |
vars.PAGES_DEPLOY_ARTIFACT_BUILDING_JOB == 'test' &&
vars.PAGES_DEPLOY_ARTIFACT_DIR != '' &&
github.ref_name == github.event.repository.default_branch &&
github.event_name != 'pull_request'
- name: upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v2
if: |
vars.PAGES_DEPLOY_ARTIFACT_BUILDING_JOB == 'test' &&
vars.PAGES_DEPLOY_ARTIFACT_DIR != '' &&
Expand All @@ -213,10 +213,10 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
node-version: [20.x]
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: setup node.js ${{ matrix.node-version }}
Expand Down Expand Up @@ -259,14 +259,14 @@ jobs:
run: |
cp ${{ vars.PAGES_DEPLOY_ARTIFACT_DIR }}/index.html ${{ vars.PAGES_DEPLOY_ARTIFACT_DIR }}/404.html
- name: setup pages
uses: actions/configure-pages@v2
uses: actions/configure-pages@v3
if: |
vars.PAGES_DEPLOY_ARTIFACT_BUILDING_JOB == 'build' &&
vars.PAGES_DEPLOY_ARTIFACT_DIR != '' &&
github.ref_name == github.event.repository.default_branch &&
github.event_name != 'pull_request'
- name: upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v2
if: |
vars.PAGES_DEPLOY_ARTIFACT_BUILDING_JOB == 'build' &&
vars.PAGES_DEPLOY_ARTIFACT_DIR != '' &&
Expand Down Expand Up @@ -296,7 +296,7 @@ jobs:
${{ steps.collect_packages.outputs.non_published_packages }}
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: collect public packages
Expand All @@ -316,7 +316,7 @@ jobs:
package: ${{ fromJSON(needs.collect.outputs.non_published_packages) }}
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: setup node.js
uses: actions/setup-node@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
python-version: ['3.11']
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Cache
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
python-version: ['3.11']
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Cache
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Cache
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
- nightly
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Cache
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
- stable
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Cache
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
- stable
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Cache
Expand All @@ -165,7 +165,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Rust Toolchain
uses: actions-rs/toolchain@v1
with:
Expand Down

0 comments on commit 484c6e2

Please sign in to comment.