Skip to content

Add Lazy Loading for Homepage Images and Check script #1

Add Lazy Loading for Homepage Images and Check script

Add Lazy Loading for Homepage Images and Check script #1

name: Image LazyLoad Check
on:
push:
branches:
- main
jobs:
run-tests:
runs-on: ubuntu-latest
steps:

Check failure on line 12 in .github/workflows/knative-lazyload-check.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/knative-lazyload-check.yaml

Invalid workflow file

You have an error in your yaml syntax on line 12
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Set GITHUB_TOKEN environment variable
run: echo "GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}" >> $GITHUB_ENV
- name: Run Build
run: ./hack/docker/test.sh
- name: Run Python script
run: python check_img_lazy.py