2024-05-09 18:35:03 +02:00
|
|
|
#KO
|
2024-05-09 18:09:19 +02:00
|
|
|
#on: [push]
|
|
|
|
#jobs:
|
|
|
|
# ls:
|
|
|
|
# runs-on: docker
|
|
|
|
# container:
|
|
|
|
# image: code.forgejo.org/oci/alpine:3.19
|
|
|
|
# steps:
|
|
|
|
# - run: |
|
|
|
|
# echo ${{ github.workspace }}
|
|
|
|
|
2024-05-09 18:54:19 +02:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
|
2024-05-09 17:46:13 +02:00
|
|
|
jobs:
|
2024-05-09 18:35:03 +02:00
|
|
|
test-html:
|
2024-05-09 18:47:38 +02:00
|
|
|
runs-on: docker
|
2024-05-09 19:02:57 +02:00
|
|
|
container:
|
|
|
|
image: cyb3rjak3/html5validator:latest-alpine
|
2024-05-09 18:40:50 +02:00
|
|
|
steps:
|
2024-05-09 19:28:29 +02:00
|
|
|
#test bonjour
|
2024-05-09 18:54:19 +02:00
|
|
|
- name: hello-world
|
2024-05-09 19:28:29 +02:00
|
|
|
run: echo bonjour-monde
|
|
|
|
#reécupère le dépot git
|
|
|
|
- name: checkout
|
|
|
|
- uses: actions/checkout@4
|
|
|
|
with:
|
|
|
|
sparse-checkout: |
|
|
|
|
.
|
2024-05-09 19:15:37 +02:00
|
|
|
- name: list env
|
|
|
|
run: echo $PWD; ls -laR
|
2024-05-09 18:54:19 +02:00
|
|
|
- name: test html ko
|
|
|
|
run: |
|
2024-05-09 19:12:16 +02:00
|
|
|
html5validator --also-check-css --log INFO
|
2024-05-09 17:46:13 +02:00
|
|
|
|
|
|
|
|
2024-05-09 18:47:38 +02:00
|
|
|
#OK
|
|
|
|
#on: [push]
|
|
|
|
#jobs:
|
|
|
|
#test-hello:
|
|
|
|
# runs-on: docker
|
|
|
|
# steps:
|
|
|
|
# - run: echo All Good
|
2024-05-09 17:46:13 +02:00
|
|
|
|
|
|
|
|