agreugreu/.forgejo/workflows/demo.yml

46 lines
795 B
YAML
Raw Normal View History

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:
#test bonjour
2024-05-09 18:54:19 +02:00
- name: hello-world
run: echo bonjour-monde
#reécupère le dépot git
- name: checkout
- uses: actions/checkout@4
with:
sparse-checkout: |
.
- name: list env
run: echo $PWD; ls -laR
2024-05-09 18:54:19 +02:00
- name: test html ko
run: |
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