Skip to content

Commit fbb41c7

Browse files
Merge pull request #493 from linode/dev
v5.26.0
2 parents e422b0a + 087502b commit fbb41c7

File tree

16 files changed

+243
-192
lines changed

16 files changed

+243
-192
lines changed

.github/dependabot.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,9 @@ updates:
88
- package-ecosystem: "pip" # See documentation for possible values
99
directory: "/" # Location of package manifests
1010
schedule:
11-
interval: "daily"
11+
interval: "weekly"
12+
13+
- package-ecosystem: "github-actions"
14+
directory: "/"
15+
schedule:
16+
interval: "weekly"

.github/workflows/ci.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
2+
name: Continuous Integration
3+
4+
on:
5+
push:
6+
branches:
7+
- dev
8+
- main
9+
pull_request:
10+
workflow_dispatch:
11+
12+
jobs:
13+
lint:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: checkout repo
17+
uses: actions/checkout@v4
18+
19+
- name: setup python 3
20+
uses: actions/setup-python@v5
21+
with:
22+
python-version: '3.x'
23+
24+
- name: install dependencies
25+
run: make dev-install
26+
27+
- name: run linter
28+
run: make lint
29+
30+
build:
31+
runs-on: ubuntu-latest
32+
strategy:
33+
matrix:
34+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
35+
steps:
36+
- uses: actions/checkout@v4
37+
- uses: actions/setup-python@v5
38+
with:
39+
python-version: ${{ matrix.python-version }}
40+
- name: Run tests
41+
run: |
42+
pip install ".[test]"
43+
tox

.github/workflows/codeql.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: "CodeQL Advanced"
2+
3+
on:
4+
push:
5+
branches: [ "dev", "main", "proj/*" ]
6+
pull_request:
7+
branches: [ "dev", "main", "proj/*" ]
8+
schedule:
9+
- cron: '39 0 * * 6'
10+
11+
jobs:
12+
analyze:
13+
name: Analyze (${{ matrix.language }})
14+
runs-on: ubuntu-latest
15+
permissions:
16+
# required for all workflows
17+
security-events: write
18+
19+
# required to fetch internal or private CodeQL packs
20+
packages: read
21+
22+
# only required for workflows in private repositories
23+
actions: read
24+
contents: read
25+
26+
strategy:
27+
fail-fast: false
28+
matrix:
29+
include:
30+
- language: python
31+
build-mode: none
32+
steps:
33+
- name: Checkout repository
34+
uses: actions/checkout@v4
35+
36+
- name: Initialize CodeQL
37+
uses: github/codeql-action/init@v3
38+
with:
39+
languages: ${{ matrix.language }}
40+
build-mode: ${{ matrix.build-mode }}
41+
queries: security-and-quality
42+
43+
- name: Perform CodeQL Analysis
44+
uses: github/codeql-action/analyze@v3
45+
with:
46+
category: "/language:${{matrix.language}}"
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: 'Dependency review'
2+
on:
3+
pull_request:
4+
branches: [ "dev", "main", "proj/*" ]
5+
permissions:
6+
contents: read
7+
pull-requests: write
8+
9+
jobs:
10+
dependency-review:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: 'Checkout repository'
14+
uses: actions/checkout@v4
15+
- name: 'Dependency Review'
16+
uses: actions/dependency-review-action@v4
17+
with:
18+
comment-summary-in-pr: on-failure

.github/workflows/e2e-test-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
LINODE_CLI_OBJ_ACCESS_KEY: ${{ secrets.LINODE_CLI_OBJ_ACCESS_KEY }}
100100
LINODE_CLI_OBJ_SECRET_KEY: ${{ secrets.LINODE_CLI_OBJ_SECRET_KEY }}
101101

102-
- uses: actions/github-script@v6
102+
- uses: actions/github-script@v7
103103
id: update-check-run
104104
if: ${{ inputs.pull_request_number != '' && fromJson(steps.commit-hash.outputs.data).repository.pullRequest.headRef.target.oid == inputs.sha }}
105105
env:

.github/workflows/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
uses: actions/checkout@v4
2222
-
2323
name: Run Labeler
24-
uses: crazy-max/ghaction-github-labeler@de749cf181958193cb7debf1a9c5bb28922f3e1b
24+
uses: crazy-max/ghaction-github-labeler@b54af0c25861143e7c8813d7cbbf46d2c341680c
2525
with:
2626
github-token: ${{ secrets.GITHUB_TOKEN }}
2727
yaml-file: .github/labels.yml

.github/workflows/lint.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/workflows/main.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

.github/workflows/publish-pypi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ jobs:
2424
LINODE_SDK_VERSION: ${{ github.event.release.tag_name }}
2525

2626
- name: Publish the release artifacts to PyPI
27-
uses: pypa/gh-action-pypi-publish@2f6f737ca5f74c637829c0f5c3acd0e29ea5e8bf # pin@release/v1.8.11
27+
uses: pypa/gh-action-pypi-publish@67339c736fd9354cd4f8cb0b744f2b82a74b5c70 # pin@release/v1.12.3
2828
with:
2929
password: ${{ secrets.PYPI_API_TOKEN }}

.github/workflows/release-cross-repo-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
run: sudo apt-get install -y build-essential
2626

2727
- name: Set up Python
28-
uses: actions/setup-python@v4
28+
uses: actions/setup-python@v5
2929
with:
3030
python-version: '3.10'
3131

@@ -43,7 +43,7 @@ jobs:
4343
pip install -r requirements.txt -r requirements-dev.txt --upgrade-strategy only-if-needed
4444
4545
- name: install ansible dependencies
46-
run: ansible-galaxy collection install amazon.aws:==6.0.1
46+
run: ansible-galaxy collection install amazon.aws:==9.1.0
4747

4848
- name: install collection
4949
run: |

0 commit comments

Comments
 (0)