Skip to content
Open
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
6 changes: 3 additions & 3 deletions .github/workflows/build-and-store-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
build-and-upload:
runs-on: namespace-profile-ubuntu-8-cores
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v4
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version-file: '.nvmrc'
cache: 'npm'
Expand All @@ -36,7 +36,7 @@ jobs:


# Upload the WASM bundle as an artifact
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: wasm-bundle
path: rust/kcl-wasm-lib/pkg
48 changes: 24 additions & 24 deletions .github/workflows/build-apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
version: ${{ steps.export_version.outputs.version }}
notes: ${{ steps.export_notes.outputs.notes }}
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version-file: '.nvmrc'
cache: 'npm'
Expand All @@ -34,7 +34,7 @@ jobs:

- id: filter
name: Check for Rust changes
uses: dorny/paths-filter@v3
uses: dorny/paths-filter@v4
with:
filters: |
rust:
Expand All @@ -43,7 +43,7 @@ jobs:
- name: Download Wasm Cache
id: download-wasm
if: ${{ github.event_name == 'pull_request' && steps.filter.outputs.rust == 'false' }}
uses: dawidd6/action-download-artifact@v11
uses: dawidd6/action-download-artifact@v20
continue-on-error: true
with:
github_token: ${{secrets.GITHUB_TOKEN}}
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
npm run files:set-version
npm run files:set-windows-codesign-config

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: prepared-files
path: |
Expand Down Expand Up @@ -147,9 +147,9 @@ jobs:
env:
VERSION_NO_V: ${{ needs.prepare-files.outputs.version }}
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
name: prepared-files

- name: Copy prepared files
Expand All @@ -165,7 +165,7 @@ jobs:
cp prepared-files/assets/icon.png assets/icon.png

- name: Sync node version and setup cache
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version-file: '.nvmrc'
cache: 'npm' # Set this to npm, npm or pnpm.
Expand Down Expand Up @@ -227,7 +227,7 @@ jobs:
- name: List artifacts in out/
run: ls -R out

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: out-arm64-${{ matrix.platform }}
# first two will pick both Zoo Design Studio-$VERSION-arm64-win.exe and Zoo Design Studio-$VERSION-win.exe
Expand All @@ -237,15 +237,15 @@ jobs:
out/*-arm64-mac.*
out/*-arm64-linux.*

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: out-x64-${{ matrix.platform }}
path: |
out/*-x64-win.*
out/*-x64-mac.*
out/*-x86_64-linux.*

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
if: ${{ env.IS_RELEASE == 'true' || env.IS_STAGING == 'true' }}
with:
name: out-yml-${{ matrix.platform }}
Expand All @@ -266,49 +266,49 @@ jobs:
VERSION: ${{ format('v{0}', needs.prepare-files.outputs.version) }}
needs: [prepare-files, build-apps]
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
name: out-arm64-windows
path: out

- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
name: out-x64-windows
path: out

- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
name: out-yml-windows
path: out

- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
name: out-arm64-macos
path: out

- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
name: out-x64-macos
path: out

- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
name: out-yml-macos
path: out

- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
name: out-arm64-linux
path: out

- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
name: out-x64-linux
path: out

- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
name: out-yml-linux
path: out
Expand Down Expand Up @@ -358,7 +358,7 @@ jobs:
}' > out/last_download.json
cat out/last_download.json

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: out-download-json
path: out/last_download.json
Expand All @@ -368,13 +368,13 @@ jobs:

- name: Authenticate to Google Cloud
if: ${{ env.IS_STAGING == 'true' }}
uses: 'google-github-actions/auth@v2.1.10'
uses: 'google-github-actions/auth@v3.0.0'
with:
credentials_json: '${{ secrets.GOOGLE_CLOUD_DL_SA }}'

- name: Set up Google Cloud SDK
if: ${{ env.IS_STAGING == 'true' }}
uses: google-github-actions/setup-gcloud@v2.1.4
uses: google-github-actions/setup-gcloud@v3.0.1
with:
project_id: ${{ env.GOOGLE_CLOUD_PROJECT_ID }}

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
npm-build-wasm:
runs-on: namespace-profile-ubuntu-8-cores
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version-file: '.nvmrc'
cache: 'npm'
Expand Down Expand Up @@ -43,13 +43,13 @@ jobs:
shell: bash
run: npm run build:wasm

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: prepared-wasm
path: |
rust/kcl-wasm-lib/pkg/kcl_wasm_lib*

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: prepared-ts-rs-bindings
path: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cargo-bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
# Enabling this results in the following error on GitHub Actions:
# setarch: failed to set personality to x86_64: Operation not permitted
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Use correct Rust toolchain
shell: bash
run: |
Expand All @@ -52,7 +52,7 @@ jobs:
cd rust
cargo codspeed build
- name: Run the benchmarks
uses: CodSpeedHQ/action@v3
uses: CodSpeedHQ/action@v4
with:
working-directory: rust
run: cargo codspeed run
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cargo-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
name: cargo check
runs-on: namespace-profile-ubuntu-2-cores
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Use correct Rust toolchain
shell: bash
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cargo-clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
name: cargo clippy
runs-on: namespace-profile-ubuntu-2-cores
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- uses: taiki-e/install-action@just
- name: Use correct Rust toolchain
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cargo-fmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
name: cargo fmt
runs-on: namespace-profile-ubuntu-2-cores
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Use correct Rust toolchain
shell: bash
run: |
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/cargo-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jobs:
runs-on: namespace-profile-ubuntu-8-cores
steps:
- uses: runs-on/action@v2
- uses: actions/create-github-app-token@v2
- uses: actions/create-github-app-token@v3
id: app-token
with:
app-id: ${{ secrets.MODELING_APP_GH_APP_ID }}
private-key: ${{ secrets.MODELING_APP_GH_APP_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
token: ${{ steps.app-token.outputs.token }}
- name: Use correct Rust toolchain
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
cd rust
cargo nextest archive --workspace --features artifact-graph --archive-file nextest-archive.tar.zst
- name: Upload archive to workflow
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: nextest-archive
path: rust/nextest-archive.tar.zst
Expand All @@ -147,13 +147,13 @@ jobs:
partitionTotal: [6]
steps:
- uses: runs-on/action@v2
- uses: actions/create-github-app-token@v2
- uses: actions/create-github-app-token@v3
id: app-token
with:
app-id: ${{ secrets.MODELING_APP_GH_APP_ID }}
private-key: ${{ secrets.MODELING_APP_GH_APP_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
token: ${{ steps.app-token.outputs.token }}
- name: Use correct Rust toolchain
Expand All @@ -171,7 +171,7 @@ jobs:
OS_NAME: ${{ env.OS_NAME }}
- uses: taiki-e/install-action@nextest
- name: Download archive
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: nextest-archive
- name: Run tests
Expand Down Expand Up @@ -199,13 +199,13 @@ jobs:
runs-on: namespace-profile-ubuntu-8-cores
steps:
- uses: runs-on/action@v2
- uses: actions/create-github-app-token@v2
- uses: actions/create-github-app-token@v3
id: app-token
with:
app-id: ${{ secrets.MODELING_APP_GH_APP_ID }}
private-key: ${{ secrets.MODELING_APP_GH_APP_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
token: ${{ steps.app-token.outputs.token }}
- name: Use correct Rust toolchain
Expand Down Expand Up @@ -256,7 +256,7 @@ jobs:
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Use correct Rust toolchain
shell: bash
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-kcl-header.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
check-kcl-header:
runs-on: namespace-profile-ubuntu-2-cores
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

- name: Check KCL files for header comment block and blank line
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codemirror-lang-kcl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
npm-unit-test:
runs-on: namespace-profile-ubuntu-2-cores
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version-file: '.nvmrc'
cache: 'npm'
Expand Down
Loading
Loading