Skip to content

Update actions/setup-python action to v5 #103

Update actions/setup-python action to v5

Update actions/setup-python action to v5 #103

Workflow file for this run

name: Linting
on: push
jobs:
yaml-lint:
name: Run yaml linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Configure Python 3.8
uses: actions/setup-python@v5
with:
python-version: "3.8"
- name: Install yamllint
run: pip install yamllint==1.24.2
- name: Run yamllint
run: yamllint .
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@cd81f4475ab741e097ec0fe73b692f3e49d66b8c
with:
check_together: "yes"
env:
SHELLCHECK_OPTS: -e SC2034 --shell=bash
shfmt:
name: Shell format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: 1.21.x
- name: Install shfmt
run: GO111MODULE=on go install mvdan.cc/sh/v3/cmd/shfmt@latest
- name: Check formatting
run: shfmt -f . | grep -v meta/dotbot | xargs shfmt -s -d
correct-sha256:
name: SHA256 in README is correct
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run Update SHA script
run: bin/update-bootstrap-sha
- name: Check that there is no diff
run: git diff --exit-code