https://github.com/bucherfa/w3c-validator-action
https://github.com/bucherfa/w3c-validator-action
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/bucherfa/w3c-validator-action
- Owner: bucherfa
- Created: 2021-01-13T21:20:05.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-14T09:46:49.000Z (over 5 years ago)
- Last Synced: 2025-02-26T21:15:14.926Z (over 1 year ago)
- Language: Shell
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
Exactly what I needed already exists: https://github.com/Cyb3r-Jak3/html5validator-action
It even uses a validator from w3c just under an obfuscated name.
# W3C Validator Action
> Validate all HTML files inside a repository against the W3C validator
## Usage
Create a workflow in your repository by placing the file `.github/workflows/validator.yml` inside your repository with the following content.
```
name: w3c-validator
on:
push:
branches: [ master, develop ]
pull_request:
jobs:
w3c-validator:
name: Validate files
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Run Validator
uses: bucherfa/w3c-validator-action@v0.2
```