robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

Justin M. KeyesMerge #38196 ci: fix issues flagged by Zizmor4fb0f95330

master
750 B31 linesraw
1name: 'setup'
2description: "Creates necessary setup for CI"
3inputs:
4  install_flags:
5    description: 'Install script flags'
6    required: false
7    default: ''
8runs:
9  using: "composite"
10  steps:
11    - name: Set $BIN_DIR
12      shell: bash
13      run: echo "$BIN_DIR" >> $GITHUB_PATH # zizmor: ignore[github-env]
14
15    - if: ${{ runner.os != 'Windows' }}
16      name: Set ulimit
17      shell: bash
18      run: ulimit -c unlimited
19
20    - if: ${{ runner.os == 'Windows' }}
21      run: .github/scripts/env.ps1
22      shell: pwsh
23
24    - name: Install dependencies
25      env:
26        INSTALL_FLAGS: ${{ inputs.install_flags }}
27      run: ./.github/scripts/install_deps.sh ${INSTALL_FLAGS}
28      shell: bash
29
30    - name: Cache
31      uses: ./.github/actions/cache