Skip to content

GHA: misc maintenance #36

GHA: misc maintenance

GHA: misc maintenance #36

Workflow file for this run

# Copyright (C) Daniel Stenberg, <[email protected]>, et al.
#
# SPDX-License-Identifier: curl
name: 'Source'
'on':
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
permissions: {}
jobs:
linters:
name: 'spellcheck, linters'
runs-on: ubuntu-latest
steps:
- name: 'install prereqs'
run: /home/linuxbrew/.linuxbrew/bin/brew install actionlint zizmor typos-cli
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
with:
persist-credentials: false
- name: 'zizmor GHA'
env:
GH_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
run: |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
zizmor --pedantic .github/workflows/*.yml
- name: 'actionlint'
run: |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
export SHELLCHECK_OPTS='--exclude=1090,1091 --enable=avoid-nullary-conditions,deprecate-which'
actionlint --version
actionlint .github/workflows/*.yml
- name: 'typos'
run: |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
typos --version
typos