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:
parent
a335f100fc
commit
01d44c5a3a
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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/*
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue