ci: improve GitHub Actions security (#75) #62
This file contains 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: Test Setup Mac OS-specific config | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: ["main", "master"] | |
paths: | |
- ".github/workflows/test_macos_3.yml" | |
- "setup/_macos" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
macOsConfig: | |
runs-on: macos-latest | |
timeout-minutes: 15 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Run _macos script | |
run: | | |
set -eo pipefail | |
export CI=1 | |
sudo bash setup/_macos |