agreugreu/.forgejo/workflows/demo.yml

46 lines
796 B
YAML

#KO
#on: [push]
#jobs:
# ls:
# runs-on: docker
# container:
# image: code.forgejo.org/oci/alpine:3.19
# steps:
# - run: |
# echo ${{ github.workspace }}
on:
push:
jobs:
test-html:
runs-on: docker
container:
image: cyb3rjak3/html5validator:latest-alpine
steps:
#test bonjour
- name: hello-world
run: echo bonjour-monde
#reécupère le dépot git
- name: checkout
- uses: actions/checkout@v4
with:
sparse-checkout: |
.
- name: list env
run: echo $PWD; ls -laR
- name: test html ko
run: |
html5validator --also-check-css --log INFO
#OK
#on: [push]
#jobs:
#test-hello:
# runs-on: docker
# steps:
# - run: echo All Good