GHA: bump actions/checkout to v4.1.1 #27
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
# Sanity checks | |
name: 'sanity' | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
branches: | |
- 'main' | |
jobs: | |
tidy-html: | |
name: 'Tidy HTML' | |
strategy: | |
fail-fast: false | |
# Run on linux | |
matrix: | |
os: | |
- 'ubuntu-latest' | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: 'Checkout repository' | |
uses: actions/[email protected] | |
- name: 'Install tidy on Ubuntu' | |
run: | | |
sudo apt update | |
sudo apt install tidy -y | |
tidy --version | |
- name: 'Run tidy on index.html' | |
run: | | |
set -euxo pipefail | |
cd ${{ github.workspace }}/ | |
tidy -e index.html |