Skip to content

Commit

Permalink
Update dependency ubuntu to v24
Browse files Browse the repository at this point in the history
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
  • Loading branch information
renovate[bot] authored and rhatdan committed Sep 27, 2024
1 parent 85af8e8 commit a07f273
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ name: ci
on: [push, pull_request]
jobs:
linux:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: install bats
shell: bash
run: |
sudo apt-get update
sudo apt-get install bats bash
pip install omlmd
pipx install omlmd
- name: run test
run: make test

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
linux:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Run a one-line script
Expand All @@ -24,7 +24,7 @@ jobs:
run: make test

build:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [linux, macos]
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
linux:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Run a one-line script
Expand All @@ -24,7 +24,7 @@ jobs:
run: make test

build:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [linux, macos]
steps:
- uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ install-shortnames:
.PHONY:
install: install-program install-shortnames install-docs
RAMALAMA_VERSION=$(RAMALAMA_VERSION) \
pip install . --root $(DESTDIR) --prefix ${PREFIX}
pipx install . --root $(DESTDIR) --prefix ${PREFIX}

.PHONY:
build:
ifeq ($(OS),Linux)
$(PYTHON) -m pip install --user -r requirements.txt
$(PYTHON) -m pipx install --user -r requirements.txt
./container_build.sh
endif

Expand All @@ -66,13 +66,13 @@ docs:

.PHONY: lint
lint:
@pip install -q black flake8
@pipx install -q black flake8
black --line-length 120 --exclude 'venv/*' *.py ramalama/*.py # Format the code
flake8 --max-line-length=120 --exclude=venv *.py ramalama/*.py # Check for any inconsistencies

.PHONY: codespell
codespell:
@pip install -q codespell
@pipx install -q codespell
codespell --dictionary=- -w

.PHONY: validate
Expand Down
1 change: 1 addition & 0 deletions rpm/python-ramalama.spec
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ BuildRequires: pyproject-rpm-macros
BuildRequires: python%{python3_pkgversion}-pip
BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python%{python3_pkgversion}-wheel
Requires: pipx
Summary: %{summary}
Provides: %{pypi_name} = %{version}-%{release}
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
Expand Down

0 comments on commit a07f273

Please sign in to comment.