Skip to content

Commit 8062352

Browse files
MNT: Update GitHub Actions workflows to use latest versions of actions
1 parent 72d9310 commit 8062352

File tree

8 files changed

+22
-24
lines changed

8 files changed

+22
-24
lines changed

.github/workflows/auto-assign.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
run:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: bubkoo/auto-assign@v1
9+
- uses: bubkoo/auto-assign@master
1010
with:
1111
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1212
CONFIG_FILE: .github/auto-assign.yml

.github/workflows/codecov.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,20 @@ coverage:
1414
branches:
1515
- master
1616
- develop
17-
if_ci_failed: error #success, failure, error, ignore
17+
if_ci_failed: error # success, failure, error, ignore
1818
informational: false
1919
only_pulls: false
20-
patch:
20+
patch: # Computes only the changes introduced in the PR
2121
default:
2222
# basic
2323
target: auto
24-
threshold: 1%
24+
threshold: 5%
2525
base: auto
2626
# advanced
2727
branches:
2828
- master
2929
- develop
30-
if_ci_failed: error #success, failure, error, ignore
30+
if_ci_failed: error # success, failure, error, ignore
3131
only_pulls: false
3232
flags:
3333
- "unit"

.github/workflows/linters.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ jobs:
1818
matrix:
1919
python-version: ["3.9"]
2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@main
2222
- name: Set up Python ${{ matrix.python-version }}
23-
uses: actions/setup-python@v3
23+
uses: actions/setup-python@main
2424
with:
2525
python-version: ${{ matrix.python-version }}
2626
- name: Install dependencies

.github/workflows/publish-to-pypi.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@main
1919
- name: Set up Python
20-
uses: actions/setup-python@v3
20+
uses: actions/setup-python@main
2121
with:
2222
python-version: "3.9"
2323
- name: Install dependencies
@@ -27,7 +27,7 @@ jobs:
2727
- name: Build package
2828
run: python -m build
2929
- name: Publish package
30-
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
30+
uses: pypa/gh-action-pypi-publish@master
3131
with:
3232
user: __token__
3333
password: ${{ secrets.PYPI_API_TOKEN }}

.github/workflows/test-pytest-slow.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: Scheduled Tests
33
on:
44
schedule:
55
- cron: "0 17 * * 5" # at 05:00 PM, only on Friday
6-
timezone: "America/Sao_Paulo"
76
push:
87
branches:
98
- main
@@ -22,16 +21,13 @@ jobs:
2221
runs-on: ubuntu-latest
2322
strategy:
2423
matrix:
25-
fail-fast: false
2624
python-version: [3.9, 3.13]
27-
2825
env:
29-
OS: ${{ matrix.os }}
3026
PYTHON: ${{ matrix.python-version }}
3127
steps:
32-
- uses: actions/checkout@v4
28+
- uses: actions/checkout@main
3329
- name: Set up Python
34-
uses: actions/setup-python@v2
30+
uses: actions/setup-python@main
3531
with:
3632
python-version: ${{ matrix.python-version }}
3733

.github/workflows/test_pytest.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ jobs:
2424
OS: ${{ matrix.os }}
2525
PYTHON: ${{ matrix.python-version }}
2626
steps:
27-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@main
2828
- name: Set up Python
29-
uses: actions/setup-python@v4
29+
uses: actions/setup-python@main
3030
with:
3131
python-version: ${{ matrix.python-version }}
3232

3333
- name: Cache Python dependencies
34-
uses: actions/cache@v3
34+
uses: actions/cache@main
3535
with:
3636
path: ~/.cache/pip
3737
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements-tests.txt') }}
@@ -64,7 +64,7 @@ jobs:
6464
run: pytest tests/acceptance --cov=rocketpy --cov-append --cov-report=xml
6565

6666
- name: Upload coverage to artifacts
67-
uses: actions/upload-artifact@v3
67+
uses: actions/upload-artifact@main
6868
with:
6969
name: coverage
7070
path: coverage.xml
@@ -73,11 +73,11 @@ jobs:
7373
needs: Pytest
7474
runs-on: ubuntu-latest
7575
steps:
76-
- uses: actions/checkout@v4
76+
- uses: actions/checkout@main
7777
- name: Download all coverage reports
78-
uses: actions/download-artifact@v3
78+
uses: actions/download-artifact@main
7979
- name: Upload to Codecov
80-
uses: codecov/codecov-action@v4
80+
uses: codecov/codecov-action@main
8181
with:
8282
token: ${{ secrets.CODECOV_TOKEN }}
8383
files: |

.github/workflows/upload-to-codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Upload coverage report to Codecov
21-
uses: codecov/codecov-action@v3
21+
uses: codecov/codecov-action@main
2222
with:
2323
token: ${{ inputs.codecov_token }}
2424
directory: ./coverage/reports/

.vscode/settings.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
"disp",
9393
"displaystyle",
9494
"docstrings",
95+
"doctest",
9596
"Doretto",
9697
"dtype",
9798
"dunder",
@@ -240,6 +241,7 @@
240241
"prometheus",
241242
"pydata",
242243
"pylint",
244+
"pylintrc",
243245
"PYPI",
244246
"pyplot",
245247
"pyproject",

0 commit comments

Comments
 (0)