From d93bf84e5928dac930ac0d2f25c4bbae7d328002 Mon Sep 17 00:00:00 2001 From: Daniel Girtler Date: Tue, 5 Sep 2023 21:21:08 +1000 Subject: Fix github action --- .github/workflows/python-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-build.yml b/.github/workflows/python-build.yml index f51ff887..6a3bb87b 100644 --- a/.github/workflows/python-build.yml +++ b/.github/workflows/python-build.yml @@ -11,7 +11,7 @@ jobs: image: archlinux:latest options: --privileged steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Prepare arch run: | pacman-key --init -- cgit v1.2.3-70-g09d2 From bcf1eb3e36a46117cf13fd4ce4f22b8525f3cd3e Mon Sep 17 00:00:00 2001 From: Daniel Girtler Date: Tue, 5 Sep 2023 21:32:30 +1000 Subject: Update --- .github/workflows/bandit.yaml | 2 +- .github/workflows/flake8.yaml | 2 +- .github/workflows/iso-build.yaml | 2 +- .github/workflows/mypy.yaml | 2 +- .github/workflows/pytest.yaml | 2 +- .github/workflows/python-build.yml | 1 - .github/workflows/python-publish.yml | 2 +- .github/workflows/translation-check.yaml | 2 +- 8 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/bandit.yaml b/.github/workflows/bandit.yaml index 84c63348..4378e8ac 100644 --- a/.github/workflows/bandit.yaml +++ b/.github/workflows/bandit.yaml @@ -6,7 +6,7 @@ jobs: container: image: archlinux:latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: pacman --noconfirm -Syu bandit - name: Security checkup with Bandit run: bandit -r archinstall || exit 0 diff --git a/.github/workflows/flake8.yaml b/.github/workflows/flake8.yaml index a33fb07c..823be79c 100644 --- a/.github/workflows/flake8.yaml +++ b/.github/workflows/flake8.yaml @@ -6,7 +6,7 @@ jobs: container: image: archlinux:latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: pacman --noconfirm -Syu python python-pip - run: pip install --break-system-packages --upgrade pip - run: pip install --break-system-packages flake8 diff --git a/.github/workflows/iso-build.yaml b/.github/workflows/iso-build.yaml index 00e2c13f..252ff645 100644 --- a/.github/workflows/iso-build.yaml +++ b/.github/workflows/iso-build.yaml @@ -26,7 +26,7 @@ jobs: image: archlinux:latest options: --privileged steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: pwd - run: find . - run: cat /etc/os-release diff --git a/.github/workflows/mypy.yaml b/.github/workflows/mypy.yaml index ccca2b9d..90200626 100644 --- a/.github/workflows/mypy.yaml +++ b/.github/workflows/mypy.yaml @@ -6,7 +6,7 @@ jobs: container: image: archlinux:latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: pacman --noconfirm -Syu python mypy python-pip - run: pip install --break-system-packages --upgrade pip - run: pip install --break-system-packages fastapi pydantic diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index 83d2e177..a5d0cb11 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -7,7 +7,7 @@ jobs: image: archlinux:latest options: --privileged steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: pacman --noconfirm -Syu python python-pip qemu gcc - run: python -m pip install --break-system-packages --upgrade pip - run: pip install --break-system-packages pytest diff --git a/.github/workflows/python-build.yml b/.github/workflows/python-build.yml index 6a3bb87b..afb1c6bc 100644 --- a/.github/workflows/python-build.yml +++ b/.github/workflows/python-build.yml @@ -19,7 +19,6 @@ jobs: pacman --noconfirm -Sy python-pip python-pyparted python-simple-term-menu pkgconfig gcc - name: Install build dependencies run: | - python -m pip install --break-system-packages --upgrade pip pip install --break-system-packages --upgrade build twine wheel setuptools installer pip uninstall archinstall -y --break-system-packages - name: Build archinstall diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 8a5bd679..b204252e 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v4 with: diff --git a/.github/workflows/translation-check.yaml b/.github/workflows/translation-check.yaml index a646d582..43f114ac 100644 --- a/.github/workflows/translation-check.yaml +++ b/.github/workflows/translation-check.yaml @@ -12,7 +12,7 @@ jobs: container: image: archlinux:latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: pacman --noconfirm -Syu python - run: cd archinstall/locales - run: pwd -- cgit v1.2.3-70-g09d2 From be7ffbdd7e08a08b609cc622addcd59cf683b379 Mon Sep 17 00:00:00 2001 From: Daniel Girtler Date: Tue, 5 Sep 2023 21:38:56 +1000 Subject: Update --- .github/workflows/python-build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/python-build.yml b/.github/workflows/python-build.yml index afb1c6bc..5f870ec0 100644 --- a/.github/workflows/python-build.yml +++ b/.github/workflows/python-build.yml @@ -16,9 +16,11 @@ jobs: run: | pacman-key --init pacman --noconfirm -Sy archlinux-keyring + pacman --noconfirm -Syyu pacman --noconfirm -Sy python-pip python-pyparted python-simple-term-menu pkgconfig gcc - name: Install build dependencies run: | + python -m pip install --break-system-packages --upgrade pip pip install --break-system-packages --upgrade build twine wheel setuptools installer pip uninstall archinstall -y --break-system-packages - name: Build archinstall -- cgit v1.2.3-70-g09d2