Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
9524c88
Bump to Python 3.13
Harvester57 May 29, 2025
7dc106d
Remove release in CI
Harvester57 May 29, 2025
d93eb9b
Update CI actions
Harvester57 May 29, 2025
2784c76
Update Poetry version
Harvester57 May 29, 2025
9685d3d
Update Poetry dependencies
Harvester57 May 29, 2025
6136949
Update all Poetry dependencies
Harvester57 May 29, 2025
9a95d31
Build with Python 3.13
Harvester57 May 29, 2025
b58e1d3
Enable release
Harvester57 May 29, 2025
975e11c
Update LIEF version
Harvester57 May 29, 2025
abebfa6
Update dependencies
Harvester57 May 29, 2025
b09b69f
Create dependabot.yml
Harvester57 May 29, 2025
202c8ec
build(deps-dev): bump coverage from 5.3 to 7.8.2
dependabot[bot] May 29, 2025
a6f34a2
Merge pull request #1 from Harvester57/dependabot/pip/coverage-7.8.2
Harvester57 May 29, 2025
e1a2d74
build(deps-dev): bump mypy from 1.2.0 to 1.16.0
dependabot[bot] May 29, 2025
08bcf28
Merge pull request #2 from Harvester57/dependabot/pip/mypy-1.16.0
Harvester57 May 29, 2025
96492c2
build(deps-dev): bump black from 24.3.0 to 25.1.0
dependabot[bot] May 29, 2025
aec54a0
Merge pull request #3 from Harvester57/dependabot/pip/black-25.1.0
Harvester57 May 29, 2025
4aa138c
build(deps-dev): bump poethepoet from 0.20.0 to 0.34.0
dependabot[bot] May 29, 2025
66df436
Merge pull request #4 from Harvester57/dependabot/pip/poethepoet-0.34.0
Harvester57 May 29, 2025
cbc3853
build(deps-dev): bump pytest from 7.2.0 to 8.3.5
dependabot[bot] May 29, 2025
a3d853b
Merge pull request #5 from Harvester57/dependabot/pip/pytest-8.3.5
Harvester57 May 29, 2025
91bfbd5
Update lock file
Harvester57 May 29, 2025
98d0d9f
Restore CI publishing
Harvester57 May 29, 2025
de05a34
Add Dependabot check for GH Actions
Harvester57 May 29, 2025
c4d0eb7
build(deps-dev): bump isort from 5.10.1 to 6.0.1
dependabot[bot] May 29, 2025
62f26dd
Merge pull request #6 from Harvester57/dependabot/pip/isort-6.0.1
Harvester57 May 29, 2025
4d54556
Update lock file
Harvester57 May 29, 2025
3e06b77
Explicit version for CI action
Harvester57 May 30, 2025
a923bb3
build(deps-dev): bump pytest from 8.3.5 to 8.4.0
dependabot[bot] Jun 2, 2025
cd832ef
Update dependabot.yml
Harvester57 Jun 4, 2025
1c03ca9
Update dependabot.yml
Harvester57 Jun 4, 2025
803194c
Merge pull request #9 from Harvester57/dependabot/pip/pytest-8.4.0
Harvester57 Jun 4, 2025
cf0c026
Update dependabot.yml
Harvester57 Jun 4, 2025
1350e80
Update pyproject.toml
Harvester57 Jun 11, 2025
bc92a9f
Update pyproject.toml
Harvester57 Jun 11, 2025
4fe2c0e
Update pyproject.toml
Harvester57 Jun 15, 2025
9b92022
Merge branch 'Wenzel:master' into master
Harvester57 Jun 22, 2025
3496864
Update Poetry lock file
Harvester57 Jun 22, 2025
308bdf3
build(deps-dev): bump the pip-dependencies group across 1 directory w…
dependabot[bot] Jun 22, 2025
fd3526e
Merge pull request #16 from Harvester57/dependabot/pip/pip-dependenci…
Harvester57 Jun 22, 2025
850a47f
Update Poetry lock file
Harvester57 Jun 22, 2025
0baa6bd
Explicit versions in action.yml
Harvester57 Jun 22, 2025
15a61b7
Merge pull request #17 from Harvester57/Action-improvement
Harvester57 Jun 22, 2025
ef9efef
Only specify the major version
Harvester57 Jun 22, 2025
47a7ccc
Update section name
Harvester57 Jun 22, 2025
e66de53
build(deps-dev): bump poethepoet in the pip-dependencies group
dependabot[bot] Jun 29, 2025
62c28cd
Merge pull request #19 from Harvester57/dependabot/pip/pip-dependenci…
Harvester57 Jun 29, 2025
9af031e
[StepSecurity] Apply security best practices
stepsecurity-app[bot] Jul 2, 2025
b1b70c8
build(deps-dev): bump the pip-dependencies group across 1 directory w…
dependabot[bot] Jul 3, 2025
3de3159
Merge pull request #22 from Harvester57/dependabot/pip/pip-dependenci…
Harvester57 Jul 5, 2025
e4767bf
build(deps-dev): bump pyinstaller in the pip-dependencies group
dependabot[bot] Jul 5, 2025
d2f8859
Merge pull request #23 from Harvester57/dependabot/pip/pip-dependenci…
Harvester57 Jul 6, 2025
c9256db
Remove Runner hardening steps
Harvester57 Jul 6, 2025
dc5b39a
Merge pull request #21 from Harvester57:chore/GHA-020022-stepsecurity…
Harvester57 Jul 6, 2025
e580069
Update Dependabot configuration
Harvester57 Jul 7, 2025
6b5d95c
CI: only allow default updates
Harvester57 Jul 7, 2025
fc41227
Fix typos
Harvester57 Jul 7, 2025
004628d
Reviewers is depreacted
Harvester57 Jul 10, 2025
cab346a
Pin Actions versions with SHA256
Harvester57 Jul 10, 2025
a0ea654
Add versions as comments
Harvester57 Jul 10, 2025
e22550e
Add Windows caching mechanism
Harvester57 Jul 10, 2025
e5fd00e
Revert caching
Harvester57 Jul 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/actions/common-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ inputs:
python_version:
description: "Python version to setup"
required: true
default: "3.10"
default: "3.13"
runs:
using: "composite"
steps:
- name: Set up Python 🐍
uses: actions/setup-python@v4
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: ${{ inputs.python_version }}

Expand All @@ -27,19 +27,19 @@ runs:
shell: bash

- name: Install Poetry
uses: abatilo/actions-poetry@v2
uses: abatilo/actions-poetry@65c61eae400c65c9510a584af85138c1ae19bbc0 # v3.0.2
with:
poetry-version: 1.7.1
poetry-version: 2.1.3

# Cache your dependencies (i.e. all the stuff in your `pyproject.toml`). Note the cache
# key: if you're using multiple Python versions, or multiple OSes, you'd need to include
# them in the cache key. I'm not, so it can be simple and just depend on the poetry.lock.
- name: cache deps
id: cache-deps
uses: actions/cache@v4
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
with:
path: ~/.cache/pypoetry
key: pydeps-${{ inputs.python_version }}-$ {{ env.shellos }}-${{ hashFiles('**/poetry.lock') }}
key: pydeps-${{ inputs.python_version }}-${{ env.shellos }}-${{ hashFiles('**/poetry.lock') }}

# Install dependencies. `--no-root` means "install all dependencies but not the project
# itself", which is what you want to avoid caching _your_ code. The `if` statement
Expand Down
41 changes: 41 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
version: 2
updates:
- package-ecosystem: "pip"
directory: "/"
commit-message:
prefix: "pip"
prefix-development: "pip-dev"
labels: [ 'chore' ]
assignees:
- "Wenzel"
schedule:
interval: "cron"
cronjob: "0 7 * * *"
timezone: "Europe/Paris"
groups:
pip-dev-dependencies:
applies-to: version-updates
patterns:
- "*"
dependency-type: development
pip-prod-dependencies:
applies-to: version-updates
patterns:
- "*"
dependency-type: production
- package-ecosystem: "github-actions"
directory: "/"
commit-message:
prefix: "actions"
labels: [ 'chore' ]
assignees:
- "Wenzel"
schedule:
interval: "cron"
cronjob: "0 7 * * *"
timezone: "Europe/Paris"
groups:
actions-dependencies:
applies-to: version-updates
patterns:
- "*"
24 changes: 12 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
task: ["fmt", "lint"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- uses: ./.github/actions/common-setup

Expand All @@ -30,7 +30,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- uses: ./.github/actions/common-setup

Expand All @@ -42,11 +42,11 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- uses: ./.github/actions/common-setup
with:
python_version: 3.11
python_version: 3.13

- name: Add entrypoint to bypass issue with relative imports in PyInstaller
run: powershell -Command 'Invoke-WebRequest https://gist.githubusercontent.com/Wenzel/e38d227d94f16e026b3aed03ea6a6661/raw/383ec56d62c58e444f6c5962ee6940a5c583d341/stub.py -OutFile stub.py'
Expand All @@ -56,7 +56,7 @@ jobs:
shell: bash

- name: Upload Windows release artefact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: checksec.exe
path: dist/checksec.exe
Expand All @@ -77,7 +77,7 @@ jobs:
shell: bash

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
submodules: true

Expand All @@ -97,14 +97,14 @@ jobs:
# push on master and tag is 'v*'
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}

- name: Create a Release
id: create_release
uses: actions/create-release@v1
uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e # v1.1.4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand All @@ -122,15 +122,15 @@ jobs:
# the deploy action below depends on a checkout of the repo
# otherwise it fails trying to remote the 'origin' remote
# https://github.com/JamesIves/github-pages-deploy-action/issues/335
- uses: actions/checkout@v3
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

# download artifacts
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
with:
name: checksec.exe

- name: Upload a Release Asset
uses: actions/[email protected]
uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 # v1.0.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand All @@ -144,7 +144,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- uses: ./.github/actions/common-setup

Expand Down
Loading