diff --git a/.github/actions/setup-system/action.yml b/.github/actions/setup-packages/action.yml similarity index 80% rename from .github/actions/setup-system/action.yml rename to .github/actions/setup-packages/action.yml index 20beeee0..1b28b10b 100644 --- a/.github/actions/setup-system/action.yml +++ b/.github/actions/setup-packages/action.yml @@ -5,17 +5,10 @@ inputs: description: GitHub token required: false default: '' - target: - description: Toolchain target triple - required: false setup-arg: description: Argument for the system setup script required: false default: '' - save-cache: - description: Whether or not to save the system cache - required: false - default: 'false' runs: using: composite steps: @@ -43,12 +36,6 @@ runs: sudo apt-get remove libunwind-* || true - - name: Setup Rust and Dependencies - uses: ./.github/actions/setup-rust - with: - target: ${{ inputs.target }} - save-cache: ${{ inputs.save-cache }} - - name: (Linux/macOS) - Setup System shell: bash if: ${{ runner.os == 'Linux' || runner.os == 'macOS' }} @@ -67,7 +54,6 @@ runs: - name: Setup Shared Libraries shell: bash env: - TARGET_TRIPLE: ${{ inputs.triple }} GITHUB_TOKEN: ${{ inputs.token }} NODE_ENV: debug run: pnpm prep diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index e7c1b84e..d9b23a2c 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -22,7 +22,7 @@ jobs: run: echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1))" >> "${GITHUB_ENV}" - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@v4 - name: Setup Pnpm uses: ./.github/actions/setup-pnpm @@ -38,7 +38,13 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Install system packages + - name: Setup Rust + uses: ./.github/actions/setup-rust + with: + save-cache: true + restore-cache: true + + - name: Setup Packages uses: ./.github/actions/setup-system - name: Run Clippy