chore: 0.1.4 수동 bump #233
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: legolas-ci | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| push: | |
| branches: | |
| - master | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: legolas-ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| release-contract: | |
| name: Release Contract | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 | |
| with: | |
| node-version: "22" | |
| - name: Validate release wiring | |
| run: node ./scripts/validate-release-wiring.mjs | |
| - name: Run release contract tests | |
| run: npm run test:release-contract | |
| node-launcher-matrix: | |
| name: Node ${{ matrix.node-version }} launcher | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: ["18.17.0", "20", "22", "24"] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Setup Rust toolchain | |
| run: | | |
| rustup toolchain install 1.95.0 --profile minimal | |
| rustup default 1.95.0 | |
| - name: Build Rust release binary | |
| run: cargo build --release -p legolas-cli | |
| - name: Stage vendor layout | |
| run: node ./scripts/stage-local-vendor-binary.mjs | |
| - name: Verify vendor layout | |
| run: node ./scripts/verify-vendor-layout.mjs | |
| - name: Run launcher platform contract tests | |
| run: node --test test/launcher-platform.test.js | |
| - name: Smoke test packaged launcher | |
| run: | | |
| node ./bin/legolas.js --version | |
| node ./bin/legolas.js help | |
| node ./scripts/smoke-ci-command.mjs launcher | |
| rust-workspace: | |
| name: Rust Workspace | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 | |
| with: | |
| node-version: "18.17.0" | |
| - name: Setup Rust toolchain | |
| run: | | |
| rustup toolchain install 1.95.0 --profile minimal --component clippy --component rustfmt | |
| rustup default 1.95.0 | |
| - name: Check Rust formatting | |
| run: cargo fmt --check | |
| - name: Lint Rust workspace | |
| run: cargo clippy --workspace --all-targets -- -D warnings | |
| - name: Run Rust workspace tests | |
| run: cargo test --workspace | |
| smoke-and-package: | |
| name: Smoke And Package | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 | |
| with: | |
| node-version: "18.17.0" | |
| - name: Setup Rust toolchain | |
| run: | | |
| rustup toolchain install 1.95.0 --profile minimal | |
| rustup default 1.95.0 | |
| - name: Build Rust release binary | |
| run: cargo build --release -p legolas-cli | |
| - name: Stage vendor layout | |
| run: node ./scripts/stage-local-vendor-binary.mjs | |
| - name: Verify vendor layout | |
| run: node ./scripts/verify-vendor-layout.mjs | |
| - name: Run Rust workspace tests | |
| run: npm test | |
| - name: Run launcher platform contract tests | |
| run: node --test test/launcher-platform.test.js | |
| - name: Smoke test CLI | |
| run: npm run smoke | |
| - name: Smoke test packaged launcher | |
| run: | | |
| node ./bin/legolas.js --version | |
| node ./bin/legolas.js help | |
| node ./bin/legolas.js scan tests/fixtures/parity/basic-app | |
| node ./scripts/smoke-ci-command.mjs launcher | |
| - name: Verify package tarball | |
| run: npm run pack:check | |
| - name: Smoke test packed install | |
| run: npm run pack:smoke | |
| pack-check-windows: | |
| name: Pack Check Windows | |
| runs-on: windows-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 | |
| with: | |
| node-version: "18.17.0" | |
| - name: Setup Rust toolchain | |
| run: | | |
| rustup toolchain install 1.95.0 --profile minimal | |
| rustup default 1.95.0 | |
| - name: Build Rust release binary | |
| run: cargo build --release -p legolas-cli | |
| - name: Stage vendor layout | |
| run: node ./scripts/stage-local-vendor-binary.mjs | |
| - name: Verify vendor layout | |
| run: node ./scripts/verify-vendor-layout.mjs | |
| - name: Verify package tarball | |
| run: npm run pack:check | |
| - name: Smoke test packed install | |
| run: npm run pack:smoke |