261 Commits

Author SHA1 Message Date
Yanick Fratantonio
1f95f7f76e Add Python 3.14 to CI workflow matrix 2026-02-25 16:47:51 +01:00
Yanick Fratantonio
edfd67abe2 Add website-ng markdown files to docs check 2026-02-25 16:37:57 +01:00
Julien Cretin
8d1a52f0f8 Use the original cargo-dist repo now that it is alive again (#1299) 2026-02-24 11:15:08 +01:00
Ben Knutson
673b4cacbb Refactor Github Action per b/485167538 2026-02-18 16:21:09 +00:00
Yanick Fratantonio
63d52eb5ae python: add small perf measurement as part of test suite 2026-02-12 14:00:41 +00:00
Yanick Fratantonio
ec30afdfc1 gh: add testing for python 3.14 2026-02-11 15:22:29 +00:00
Yanick Fratantonio
c3a7344e45 python: delete the fix_package_version.py script, not needed anymore
This updates the build GitHub workflow to not use the
fix_package_version.py script anymore. This also deletes the script
itself. Using a static version in pyproject.toml makes this redundant.
2026-01-10 16:33:46 +00:00
Yanick Fratantonio
5ef65280e1 go: add basic gh action 2025-11-11 13:03:03 +00:00
Yanick Fratantonio
a1f3c7edbc gh: avoid trigger pypi deployments for every PR 2025-10-31 15:21:17 +00:00
Yanick Fratantonio
89f1708134 gh: change the trigger tags for tests 2025-10-30 13:53:21 +00:00
Yanick Fratantonio
cc40b4980f gh: enforce pre-release checks for both normal and test releases 2025-10-30 13:42:57 +00:00
Yanick Fratantonio
d4de2f0e6d gh: add publish to pypi 2025-10-30 13:26:31 +00:00
Yanick Fratantonio
f1a9c99480 gh: flatten artifacts structure
Needed for the gh pypi trusted publisher action
2025-10-30 11:34:27 +00:00
Yanick Fratantonio
405a6002de gh: add real vs. test release tags 2025-10-30 11:20:04 +00:00
Yanick Fratantonio
cdb394d798 gh: fix self-reference of python build and releaser 2025-10-30 10:48:43 +00:00
Yanick Fratantonio
0124355997 python: publish to testpypi 2025-10-30 10:46:56 +00:00
Yanick Fratantonio
a34f78c8de gh: add stub to publish to pypi test via trusted publishing 2025-10-30 10:09:53 +00:00
Yanick Fratantonio
17d71c4fd5 gh: use new pre-release checker 2025-10-30 10:09:52 +00:00
Yanick Fratantonio
1c3bc4dbed gh: update name 2025-10-30 10:09:52 +00:00
Yanick Fratantonio
fc76af880b gh: rename python build workflow 2025-10-30 10:09:52 +00:00
Yanick Fratantonio
62408827bc gh: skip pip show package version validation when installing via uv 2025-10-30 10:09:52 +00:00
Yanick Fratantonio
4a6b6a6f72 gh: avoid overtriggering python gh actions 2025-10-30 10:09:52 +00:00
Yanick Fratantonio
26db7e9e95 gh: execute pre-release-checks jobs even when the actual checks are not needed
if we don't do that, the build-wheels and other jobs will not run as the pre-release-checks is a dependency.
2025-10-30 10:09:52 +00:00
Yanick Fratantonio
03b55c4f2e gh: avoid overtriggerig js import scenario
In GH actions, the "path" filter is not used for tags push. This means that any tag push would trigger this gh action, even if the push has nothing to do with it.

Fixed by triggering only for branch pushes to main (note: the branch filter is used for tags as well), and for any PR that relates to this.
2025-10-30 10:09:52 +00:00
Yanick Fratantonio
3945c1e6bc gh: new version of build GH action
- add pre-release-checks, gated by release tags
- run package checks on the actual artifacts (i.e., the packages), and not just from the source of the repo.
- add stub for actual release
- simplify "uv add magika" linux vs. windows, using shell: bash
- make uv version easily updatable
2025-10-30 10:09:52 +00:00
Yanick Fratantonio
2c54d027d0 gh: updated uv version and simplified testing jobs 2025-10-29 13:55:07 +00:00
Luca Invernizzi
eefd68ed2e Update Node.js version in js-publish workflow (#1197) 2025-10-21 14:06:10 +02:00
Luca Invernizzi
3b95304c31 Disable provenance for js temporarely (#1196) 2025-10-21 13:58:08 +02:00
Luca Invernizzi
4ec72ebc25 Update js-publish.yml (#1195) 2025-10-21 13:51:33 +02:00
Luca Invernizzi
4eef7e46cb Update Node setup action and configuration (#1194) 2025-10-21 13:40:48 +02:00
Luca Invernizzi
d960ce362e Enable Corepack in js-publish workflow (#1193)
Added step to enable Corepack in the workflow.
2025-10-21 13:35:18 +02:00
Luca Invernizzi
06a85b20f2 Change yarn publish to yarn npm publish with provenance (#1190)
Provenance statements supported: https://yarnpkg.com/cli/npm/publish
2025-10-21 11:11:20 +02:00
Yanick Fratantonio
ef406d29b9 python: moved and renamed check changelog script 2025-10-07 18:21:55 +00:00
Yanick Fratantonio
39bcbaf2a5 Pass base_ref to changelog script
support diffs against non-main branches
2025-10-07 20:06:32 +02:00
ps2181
635c213e2f added files to give message some changes are not documented 2025-10-07 20:04:39 +02:00
Yanick Fratantonio
cf92a63c05 python: add copyright checks in github action 2025-10-07 17:55:44 +00:00
Luca Invernizzi
d156d739ce Downgrade checkout action from v5 to v4 (#1157)
Fixes https://github.com/google/magika/actions/runs/18187888541/job/51776092918
2025-10-02 10:56:09 +02:00
dependabot[bot]
ac56d109e1 build(deps): bump actions/checkout from 4 to 5 (#1151)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Luca Invernizzi <invernizzi.l@gmail.com>
2025-10-02 08:35:31 +00:00
dependabot[bot]
e627f0dddc build(deps): bump github/codeql-action from 3.28.15 to 3.30.5 (#1150)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.15 to 3.30.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](45775bd823...3599b3baa1)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.30.5
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Luca Invernizzi <invernizzi.l@gmail.com>
2025-10-02 08:34:15 +00:00
dependabot[bot]
daa3fd170c build(deps): bump ossf/scorecard-action from 2.4.1 to 2.4.3 (#1148)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.4.1 to 2.4.3.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](f49aabe0b5...4eaacf0543)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-version: 2.4.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-02 08:18:27 +00:00
Luca Invernizzi
3d5d89172e Reduce size of github action (#1156)
Updated cleanup commands to remove node_modules recursively.
2025-10-02 10:16:05 +02:00
dependabot[bot]
0f6cf775ca build(deps): bump actions/attest-build-provenance from 2 to 3 (#1152)
Bumps [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance) from 2 to 3.
- [Release notes](https://github.com/actions/attest-build-provenance/releases)
- [Changelog](https://github.com/actions/attest-build-provenance/blob/main/RELEASE.md)
- [Commits](https://github.com/actions/attest-build-provenance/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/attest-build-provenance
  dependency-version: '3'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Luca Invernizzi <invernizzi.l@gmail.com>
2025-10-02 08:14:42 +00:00
Luca Invernizzi
471aad8e65 Reduce action size for js-check-import-scenarios (#1155)
It's running out of disk space
2025-10-02 10:13:07 +02:00
Luca Invernizzi
f61f60d1ad Use GH Actions to check various JS import configurations (fixes #299) (#1154)
* Github action to test JS imports

* Fix Playwright

* switch to main for js-import checks

* Update js/simple_examples/node-commonjs-example/package.json

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update js/simple_examples/node-esmodule-example/package.json

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update js/simple_examples/typescript-esmodule-example/package.json

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-02 09:59:53 +02:00
Julien Cretin
15abb6d46d Use cargo-dist to release the Rust CLI (#1107) 2025-09-10 15:39:50 +02:00
Julien Cretin
45c3abf781 Fix ONNX Runtime build (#1119)
Also run the schedule twice more frequently to avoid the cache expiring (not clear why we lose it
sometimes). Also only run the schedule for the cache (aka build on linux).
2025-07-18 09:38:53 +02:00
Julien Cretin
340204d461 Generate deb package for the CLI (#1096) 2025-06-11 15:50:53 +00:00
dependabot[bot]
f2e4937372 build(deps): bump actions/setup-node from 4.3.0 to 4.4.0
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](cdca7365b2...49933ea528)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: 4.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-15 10:39:42 +02:00
dependabot[bot]
3984f5cc54 build(deps): bump actions/setup-python from 5.5.0 to 5.6.0
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.5.0 to 5.6.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](8d9ed9ac5c...a26af69be9)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: 5.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-02 09:59:51 -04:00
dependabot[bot]
6836ec6bf7 build(deps): bump ossf/scorecard-action from 2.4.0 to 2.4.1
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](62b2cac7ed...f49aabe0b5)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-08 17:20:40 +02:00