Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
33 changes: 33 additions & 0 deletions .github/workflows/test_action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Test Action
on: [push, pull_request]

jobs:
generate_data:
runs-on: ubuntu-latest
name: Generate version data
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Generate version data using local action
uses: ./
- name: Check file contents
run: |
printf "Contents of chart.md:\n"
cat chart.md
printf "\n\n"
printf "Contents of schedule.json:\n"
cat schedule.json
printf "\n\n"
printf "Contents of schedule.md:\n"
cat schedule.md
printf "\n\n"
- name: Remove generated files
run: |
printf "Removing generated files...\n"
rm -f chart.md schedule.json schedule.md
ls -R
- uses: actions/download-artifact@v4
with:
name: spec-zero-versions
- name: Display structure of downloaded files
run: ls -R
9 changes: 6 additions & 3 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,11 @@ runs:
shell: bash
run: |
python spec_zero_versions.py
- name: Upload artifact
- name: Upload files as an artifact
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.artifact-name }}
path: "spec_zero_data/*.tar.xz"
name: spec-zero-versions
path: |
schedule.json
schedule.md
chart.md
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
packaging
pandas
requests