auto update domains #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: validate commit | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
env: | |
REGISTRY: ghcr.io | |
jobs: | |
run-syntax-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m venv .venv | |
source .venv/bin/activate | |
pip install poetry | |
poetry install | |
- name: Run verify script | |
run: | | |
source .venv/bin/activate | |
python tools/verify_data.py --github | |
- name: Run disposable script | |
run: | | |
source .venv/bin/activate | |
python disposable.py --help | |
# build-image: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Checkout repository | |
# uses: actions/checkout@v4 | |
# - name: Log in to the Container registry | |
# uses: docker/login-action@v1 | |
# with: | |
# registry: ${{ env.REGISTRY }} | |
# username: ${{ github.actor }} | |
# password: ${{ secrets.GITHUB_TOKEN }} | |
# - name: build test image | |
# uses: docker/build-push-action@v2 | |
# with: | |
# context: "./" | |
# file: "docker/Dockerfile" | |
# push: false | |
# tags: "${{ env.REGISTRY }}/${{ github.repository }}:latest" |