Repository navigation
ci(linux): install native packages and exercise tray on three distros #119
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: Workflow security | |
| on: | |
| pull_request: | |
| paths: | |
| - .github/workflows/** | |
| permissions: | |
| contents: read | |
| jobs: | |
| actionlint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 | |
| with: | |
| persist-credentials: false | |
| - name: Install actionlint 1.7.12 | |
| shell: bash | |
| run: | | |
| set -euo pipefail | |
| version=1.7.12 | |
| archive="actionlint_${version}_linux_amd64.tar.gz" | |
| curl --fail --location --proto '=https' --tlsv1.2 \ | |
| --output "$archive" "https://github.com/rhysd/actionlint/releases/download/v${version}/${archive}" | |
| curl --fail --location --proto '=https' --tlsv1.2 \ | |
| --output checksums.txt "https://github.com/rhysd/actionlint/releases/download/v${version}/actionlint_${version}_checksums.txt" | |
| grep " ${archive}$" checksums.txt | sha256sum --check --strict | |
| tar -xzf "$archive" actionlint | |
| sudo install -m 0755 actionlint /usr/local/bin/actionlint | |
| - name: Lint workflows | |
| run: actionlint -color | |
| zizmor: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| security-events: write | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 | |
| with: | |
| persist-credentials: false | |
| - name: Audit workflow security | |
| uses: zizmorcore/zizmor-action@cc914d7f3750a2d13d75c7f184a1060aa0e9d482 # v0.6.4 | |
| with: | |
| advanced-security: false |