https://github.com/wildtechgarden/validator-html-action
GitHub action using W3C's validator to validate the HTML and CSS of a website
https://github.com/wildtechgarden/validator-html-action
css-validator html-validate html-validation html-validator html5-validation w3c-validator
Last synced: 13 days ago
JSON representation
GitHub action using W3C's validator to validate the HTML and CSS of a website
- Host: GitHub
- URL: https://github.com/wildtechgarden/validator-html-action
- Owner: wildtechgarden
- License: mit
- Archived: true
- Created: 2023-09-11T04:54:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-27T00:50:44.000Z (over 1 year ago)
- Last Synced: 2025-04-30T21:48:01.653Z (19 days ago)
- Topics: css-validator, html-validate, html-validation, html-validator, html5-validation, w3c-validator
- Language: Shell
- Homepage: https://www.validator-html-action.wtg-demos.ca/
- Size: 87.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.fr.md
- License: LICENSE
Awesome Lists containing this project
README
# Actionne GitHub ce-qui vérifier le HTML et CSS d'une site
Décrit: Actionne GitHub ce-qui utiliser W3C `validator` a vérifier le HTML et CSS
d'une site
URL du référentiel: \
Site:
Statut IC: [](https://results.pre-commit.ci/latest/github/wildtechgarden/validator-html-action/main)
[](https://github.com/wildtechgarden/validator-html-action/actions/workflows/build-audit.yml)## Matières
1. [Matières](#matières)
2. [Configuration and utilisation](#configuration-and-utilisation)
1. [Actions inputs variables](#actions-inputs-variables)
2. [Sample usage](#sample-usage)
3. [Développement](#développement)
4. [Colophon](#colophon)## Configuration and utilisation
### Actions inputs variables
| Input | Required | Default | Dit-on |
|-------|-------|---------|---------|
| download-site-as | oui | unminified-site | GitHub Artifact qui contenu le tarball avec le site |
| download-site-filename | oui | hugo-site.tar | Nom de tarball qui contenu le site |
| output-directory | oui | public | subdirectory (en tarball) contenu le site a vérifier |
| repo-token | oui | _(none)_ | GITHUB_TOKEN |
| use-existing-workspace | non | false | Utiliser un workspace existent et le site créer vers un artefact |Le tarball (défaut ``hugo-site.tar``) en l'artefact (défaut
``unminified-site``) avec le nom en ``download-site-as`` et contenu:* Un subdirectory contenu le site (défaut: _public_, ou option
á ``output-directory``).### Sample usage
```yaml
name: test-html-validate
on:
pull_request:
types:
- assigned
- opened
- synchronize
- reopened
push:
branches:
- main
jobs:
build-unminified-site:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: "Créer site avec Hugo et auditer"
uses: wildtechgarden/audit-build-action-hugo-dfd@main
with:
base-url: "https://www.example.com/"
build-for-downstream: "true"
source-directory: échantillon
use-lfs: false
- name: "Vérifier HTML de site"
uses: wildtechgarden/validator-html-action@main
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
use-existing-workspace: "true"
```## Développement
TBD
-------
## Colophon
Copyright © 2023 Wild Tech 'Garden'
[Publié sous license MIT](LICENSE)