Update actions (#1362)

* Update actions/checkout to v3

* Update actions/checkout to v3

* Update actions

* Update actions/checkout to v3

* Update actions/checkout to v3

* Update actions

* Update actions
This commit is contained in:
Sven Serlier 2022-09-02 12:30:47 +02:00 committed by GitHub
parent a335f100fc
commit 01d44c5a3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 14 additions and 14 deletions

View File

@ -6,7 +6,7 @@ jobs:
container:
image: archlinux:latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: pacman --noconfirm -Syu bandit
- name: Security checkup with Bandit
run: bandit -r archinstall || exit 0
run: bandit -r archinstall || exit 0

View File

@ -6,9 +6,9 @@ jobs:
container:
image: archlinux:latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: pacman --noconfirm -Syu python python-pip
- run: python -m pip install --upgrade pip
- run: pip install flake8
- name: Lint with flake8
run: flake8
run: flake8

View File

@ -26,7 +26,7 @@ jobs:
image: archlinux:latest
options: --privileged
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: pwd
- run: find .
- run: cat /etc/os-release
@ -43,7 +43,7 @@ jobs:
- run: echo -e "git\npython\npython-pip\npython-build\npython-flit\npython-setuptools\npython-wheel" >> /tmp/archlive/packages.x86_64
- run: find /tmp/archlive
- run: cd /tmp/archlive; mkarchiso -v -w work/ -o out/ ./
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: Arch Live ISO
path: /tmp/archlive/out/*.iso

View File

@ -6,7 +6,7 @@ jobs:
container:
image: archlinux:latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: pacman --noconfirm -Syu python mypy python-pip
- run: python -m pip install --upgrade pip
- run: pip install fastapi pydantic

View File

@ -7,9 +7,9 @@ jobs:
image: archlinux:latest
options: --privileged
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: pacman --noconfirm -Syu python python-pip qemu gcc
- run: python -m pip install --upgrade pip
- run: pip install pytest
- name: Test with pytest
run: python -m pytest || exit 0
run: python -m pytest || exit 0

View File

@ -8,9 +8,9 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
@ -20,7 +20,7 @@ jobs:
- name: Build archinstall
run: |
python -m build
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: archinstall
path: dist/*

View File

@ -13,9 +13,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies