Skip to content

Commit e0b719b

Browse files
author
Azizjon Rizayev
committed
Update action versions
1 parent 881d806 commit e0b719b

3 files changed

Lines changed: 46 additions & 40 deletions

File tree

.github/workflows/mayhem.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,23 @@ jobs:
1313
name: 'Build mayhem fuzzing container'
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v6.0.2
1717

1818
- name: Log in to the Container registry
19-
uses: docker/login-action@v3
19+
uses: docker/login-action@v4.1.0
2020
with:
2121
registry: ${{ env.REGISTRY }}
2222
username: ${{ github.actor }}
2323
password: ${{ secrets.GITHUB_TOKEN }}
2424

2525
- name: Extract metadata (tags, labels) for Docker
2626
id: meta
27-
uses: docker/metadata-action@v5
27+
uses: docker/metadata-action@v6.0.0
2828
with:
2929
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
3030

3131
- name: Build and push Docker image
32-
uses: docker/build-push-action@v6
32+
uses: docker/build-push-action@v7.1.0
3333
with:
3434
context: .
3535
file: mayhem/Dockerfile
@@ -51,7 +51,7 @@ jobs:
5151
- mayhem/Mayhemfile
5252

5353
steps:
54-
- uses: actions/checkout@v4
54+
- uses: actions/checkout@v6.0.2
5555

5656
- name: Start analysis for ${{ matrix.mayhemfile }}
5757
uses: ForAllSecure/mcode-action@long-runs

.github/workflows/publish-pypi.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: Publish to PyPi
22

3+
34
on:
45
workflow_dispatch:
56
push:
@@ -10,23 +11,24 @@ jobs:
1011
name: Build dist files for PyPi
1112
runs-on: ubuntu-latest
1213
steps:
13-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v6.0.2
1415
with:
1516
fetch-depth: 0
16-
- uses: actions/setup-python@v4
17+
- uses: actions/setup-python@v1
1718
with:
18-
python-version: 3.13
19+
python-version: 3.8
1920
- name: Build dist files
2021
run: >
2122
python -m pip install --upgrade pip && pip install -e .[build] &&
2223
python setup.py build &&
2324
python setup.py sdist --formats=gztar
2425
- name: Publish distribution 📦 to Test PyPI
25-
uses: pypa/gh-action-pypi-publish@release/v1 # license BSD-2
26+
uses: pypa/gh-action-pypi-publish@release/v1 # license BSD-2
2627
with:
2728
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
2829
repository_url: https://test.pypi.org/legacy/
2930
- name: Publish distribution 📦 to PyPI
30-
uses: pypa/gh-action-pypi-publish@release/v1 # license BSD-2
31+
uses: pypa/gh-action-pypi-publish@release/v1 # license BSD-2
3132
with:
3233
password: ${{ secrets.PYPI_API_TOKEN }}
34+

.github/workflows/python-package.yml

Lines changed: 34 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -6,50 +6,54 @@ name: Python package
66
on:
77
push:
88
paths-ignore:
9-
- "docs/**"
9+
- 'docs/**'
1010
pull_request:
11-
branches: "*"
11+
branches: '*'
1212

1313
jobs:
1414
build:
15+
1516
runs-on: ubuntu-latest
1617
strategy:
1718
fail-fast: false
1819
matrix:
19-
python-version: ["3.10", "3.11", "3.12", "3.13"]
20+
python-version: [3.7, 3.8, 3.9, '3.10']
2021

2122
steps:
22-
- uses: actions/checkout@v4
23-
- name: Set up Python ${{ matrix.python-version }}
24-
uses: actions/setup-python@v4
25-
with:
26-
python-version: ${{ matrix.python-version }}
27-
- name: Install dependencies
28-
run: |
29-
python -m pip install --upgrade pip
30-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
31-
- name: Test
32-
run: |
33-
python -m unittest discover -v
34-
23+
- uses: actions/checkout@v6.0.2
24+
- name: Set up Python ${{ matrix.python-version }}
25+
uses: actions/setup-python@v2
26+
with:
27+
python-version: ${{ matrix.python-version }}
28+
- name: Install dependencies
29+
run: |
30+
python -m pip install --upgrade pip
31+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
32+
- name: Test
33+
run: |
34+
python setup.py test
35+
36+
3537
lint:
38+
3639
runs-on: ubuntu-latest
3740
strategy:
3841
fail-fast: false
3942
matrix:
40-
python-version: [3.13]
43+
python-version: [3.9]
4144

4245
steps:
43-
- uses: actions/checkout@v2
44-
- name: Set up Python ${{ matrix.python-version }}
45-
uses: actions/setup-python@v2
46-
with:
47-
python-version: ${{ matrix.python-version }}
48-
- name: Install dependencies
49-
run: |
50-
python -m pip install --upgrade pip
51-
python -m pip install pycodestyle
52-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
53-
- name: Lint with pycodestyle
54-
run: |
55-
pycodestyle tableaudocumentapi test samples
46+
- uses: actions/checkout@v6.0.2
47+
- name: Set up Python ${{ matrix.python-version }}
48+
uses: actions/setup-python@v2
49+
with:
50+
python-version: ${{ matrix.python-version }}
51+
- name: Install dependencies
52+
run: |
53+
python -m pip install --upgrade pip
54+
python -m pip install pycodestyle
55+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
56+
- name: Lint with pycodestyle
57+
run: |
58+
pycodestyle tableaudocumentapi test samples
59+

0 commit comments

Comments
 (0)