Compare commits

...

10 Commits
v2.0.1 ... main

Author SHA1 Message Date
Félix MARQUET
8550fb045c Merge pull request #22 from BreizhHardware/dev
Update dependencies
2025-06-16 10:39:33 +02:00
Félix MARQUET
bf35608f71 Update .github/workflows/dependabot-build.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-16 10:32:22 +02:00
Félix MARQUET
b842d104c7 Merge pull request #20 from BreizhHardware/dependabot/cargo/dev/reqwest-0.12.20
build(deps): bump reqwest from 0.11.27 to 0.12.20
2025-06-16 10:08:33 +02:00
dependabot[bot]
b22351e77e build(deps): bump reqwest from 0.11.27 to 0.12.20
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.27 to 0.12.20.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.27...v0.12.20)

---
updated-dependencies:
- dependency-name: reqwest
  dependency-version: 0.12.20
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-16 08:04:33 +00:00
Félix MARQUET
10d8a23897 Merge pull request #21 from BreizhHardware/dependabot/cargo/dev/rusqlite-0.36.0
build(deps): bump rusqlite from 0.29.0 to 0.36.0
2025-06-16 10:03:22 +02:00
Félix MARQUET
4e54b557b0 Merge pull request #19 from BreizhHardware/dependabot/cargo/dev/env_logger-0.11.8
build(deps): bump env_logger from 0.10.2 to 0.11.8
2025-06-16 10:01:33 +02:00
dependabot[bot]
a92caf5e37 build(deps): bump rusqlite from 0.29.0 to 0.36.0
Bumps [rusqlite](https://github.com/rusqlite/rusqlite) from 0.29.0 to 0.36.0.
- [Release notes](https://github.com/rusqlite/rusqlite/releases)
- [Changelog](https://github.com/rusqlite/rusqlite/blob/master/Changelog.md)
- [Commits](https://github.com/rusqlite/rusqlite/compare/v0.29.0...v0.36.0)

---
updated-dependencies:
- dependency-name: rusqlite
  dependency-version: 0.36.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-16 07:59:11 +00:00
dependabot[bot]
f2a6d4f0de build(deps): bump env_logger from 0.10.2 to 0.11.8
Bumps [env_logger](https://github.com/rust-cli/env_logger) from 0.10.2 to 0.11.8.
- [Release notes](https://github.com/rust-cli/env_logger/releases)
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.10.2...v0.11.8)

---
updated-dependencies:
- dependency-name: env_logger
  dependency-version: 0.11.8
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-16 07:56:05 +00:00
Félix MARQUET
08bf34104a update(create_dev): add condition to skip jobs for Dependabot pull requests 2025-06-16 09:54:24 +02:00
Félix MARQUET
ff3e00eb4e add(dependabot): create build check workflow for Dependabot pull requests 2025-06-16 09:51:13 +02:00
4 changed files with 490 additions and 205 deletions

View File

@@ -7,6 +7,7 @@ on:
jobs:
build-binary:
if: ${{ github.actor != 'dependabot[bot]' && !startsWith(github.ref, 'refs/heads/dependabot/') }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
@@ -53,6 +54,7 @@ jobs:
path: release/github-ntfy
docker-build-push:
if: ${{ github.actor != 'dependabot[bot]' && !startsWith(github.ref, 'refs/heads/dependabot/') }}
needs: [build-binary]
runs-on: ubuntu-latest
steps:

52
.github/workflows/dependabot-build.yml vendored Normal file
View File

@@ -0,0 +1,52 @@
name: Dependabot Build Check
on:
pull_request:
branches: [dev]
permissions:
contents: read
pull-requests: read
jobs:
build:
if: ${{ startsWith(github.ref, 'refs/heads/dependabot/') || github.actor == 'dependabot[bot]' }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Installer Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: x86_64-unknown-linux-musl
override: true
- name: Installer cross
run: cargo install cross
- name: Créer Cross.toml pour spécifier OpenSSL vendored
run: |
cat > Cross.toml << 'EOF'
[build.env]
passthrough = [
"RUSTFLAGS",
"OPENSSL_STATIC",
"OPENSSL_NO_VENDOR"
]
EOF
- name: Construire avec cross et OpenSSL vendored
env:
OPENSSL_STATIC: 1
RUSTFLAGS: "-C target-feature=+crt-static"
OPENSSL_NO_VENDOR: 0
run: |
cross build --release --target x86_64-unknown-linux-musl --features vendored-openssl
- name: Afficher des informations de débogage
run: |
echo "Acteur: ${{ github.actor }}"
echo "Référence de la branche: ${{ github.head_ref }}"
echo "Event name: ${{ github.event_name }}"

635
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -12,12 +12,12 @@ vendored-openssl = ["openssl/vendored"]
[dependencies]
tokio = { version = "1", features = ["full"] }
reqwest = { version = "0.11", features = ["json", "blocking"] }
rusqlite = { version = "0.29", features = ["bundled"] }
reqwest = { version = "0.12", features = ["json", "blocking"] }
rusqlite = { version = "0.36", features = ["bundled"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
log = "0.4"
env_logger = "0.10"
env_logger = "0.11"
dotenv = "0.15"
chrono = "0.4"
warp = "0.3"