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
31 changes: 15 additions & 16 deletions .github/workflows/update-sboms.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ on:
- main

env:
PYTHON_VERSION: "3.10"
PYTHON_VERSION: "3.13"

jobs:

Publish-SBOMS:
name: "Publish SBOMs"
runs-on: ubuntu-22.04-4core-16gb
Expand All @@ -18,21 +17,21 @@ jobs:
contents: read
packages: write
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac #v4.0.0
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac #v4.0.0

- name: Setup Python
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 #v4.7.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Setup Python
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 #v4.7.0
with:
python-version: ${{ env.PYTHON_VERSION }}

- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: venv
key: ${{ hashFiles('requirements.txt') }}-${{ hashFiles('Makefile') }}
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: venv
key: ${{ hashFiles('requirements.txt') }}-${{ hashFiles('Makefile') }}

- name: Login to GitHub Container Registry
run: |
echo ${{ secrets.GITHUB_TOKEN }} | oras login ghcr.io --username ${{ github.actor }} --password-stdin
- name: Login to GitHub Container Registry
run: |
echo ${{ secrets.GITHUB_TOKEN }} | oras login ghcr.io --username ${{ github.actor }} --password-stdin

- name: Update and publish SBOMs
run: make update-and-publish-sboms
- name: Update and publish SBOMs
run: make update-and-publish-sboms
28 changes: 14 additions & 14 deletions .github/workflows/validations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,27 @@ on:
pull_request:

env:
PYTHON_VERSION: "3.10"
PYTHON_VERSION: "3.13"

jobs:
Checks:
name: "Checks"
runs-on: ubuntu-22.04-4core-16gb
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0

- name: Setup Python
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Setup Python
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: ${{ env.PYTHON_VERSION }}

- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: venv
key: ${{ hashFiles('requirements.txt') }}-${{ hashFiles('Makefile') }}
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: venv
key: ${{ hashFiles('requirements.txt') }}-${{ hashFiles('Makefile') }}

- name: Run static-analysis
run: make static-analysis
- name: Run static-analysis
run: make static-analysis

- name: Run build-sboms
run: make build-sboms
- name: Run build-sboms
run: make build-sboms
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
git+https://github.com/anchore/yardstick@v0.9.1
git+https://github.com/anchore/yardstick@v0.16.1
# ../yardstick
click
Loading