Skip to content

Commit

Permalink
fix: updates
Browse files Browse the repository at this point in the history
Signed-off-by: Devin Buhl <[email protected]>
  • Loading branch information
onedr0p committed Dec 31, 2024
1 parent ccee37e commit 8023975
Showing 1 changed file with 17 additions and 35 deletions.
52 changes: 17 additions & 35 deletions .github/workflows/schemas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,13 @@ on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *" # Every day at midnight
pull_request:
branches: ["main"]
paths: [".github/workflows/schemas.yaml"]
push:
branches: ["main"]
paths: [".github/workflows/schemas.yaml"]

# env:
# HOMEBREW_NO_ANALYTICS: "1"
# UV_SYSTEM_PYTHON: "1"
env:
HOMEBREW_NO_ANALYTICS: "1"
UV_SYSTEM_PYTHON: "1"

jobs:
publish:
Expand All @@ -37,42 +34,27 @@ jobs:
with:
token: "${{ steps.app-token.outputs.token }}"

# - name: Setup Homebrew
# uses: Homebrew/actions/setup-homebrew@master
# with:
# stable: true

# - name: Setup Workflow Tools
# shell: bash
# run: brew install kubectl uv
- name: Setup Homebrew
uses: Homebrew/actions/setup-homebrew@master
with:
stable: true

# - name: Setup Python
# uses: actions/setup-python@v5
# with:
# python-version: 3.12.x
- name: Setup Workflow Tools
shell: bash
run: brew install kubectl uv

# - name: Setup Node
# uses: actions/setup-node@v4
# with:
# node-version: 18.x
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.12.x

- name: Setup Workflow Tools
uses: jdx/mise-action@v2
env:
GITHUB_TOKEN: "${{ steps.app-token.outputs.token }}"
- name: Setup Node
uses: actions/setup-node@v4
with:
mise_toml: |
[tools]
python = "3.12"
node = "20"
"aqua:astral-sh/uv" = "latest"
"aqua:kubernetes/kubectl" = "latest"
"npm:wrangler" = "latest"
node-version: 18.x

- name: Install Python Dependencies
run: uv pip install pyyaml
env:
UV_SYSTEM_PYTHON: "1"

- name: Download and run crd-extractor
shell: bash
Expand Down

0 comments on commit 8023975

Please sign in to comment.