From 85b5c2b33de652562b909694f4817a15c293f05c Mon Sep 17 00:00:00 2001 From: "Artem V. Ageev" Date: Sat, 25 Jan 2025 12:47:02 +0200 Subject: [PATCH 1/5] add dependabot --- .github/dependabot.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..719a922 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,13 @@ +--- +version: 2 +updates: + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "monthly" + + - package-ecosystem: "cargo" + directory: "/" + schedule: + interval: "monthly" From cbc15972a18c232ce5d2bec74951319cf811148d Mon Sep 17 00:00:00 2001 From: "Artem V. Ageev" Date: Thu, 13 Feb 2025 10:45:46 +0200 Subject: [PATCH 2/5] Update CI.yml --- .github/workflows/CI.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index f0f3a53..70d3766 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -20,12 +20,9 @@ jobs: matrix: job: - os: ubuntu-latest - target: x86_64-unknown-linux-gnu publish: true - os: macos-latest - target: x86_64-apple-darwin - os: windows-latest - target: x86_64-pc-windows-msvc env: PROGRAM_NAME: wethr From 7790838c8f8869ed31c3592fce49d11a225fa31c Mon Sep 17 00:00:00 2001 From: "Artem V. Ageev" Date: Thu, 13 Feb 2025 10:46:40 +0200 Subject: [PATCH 3/5] Update CI.yml --- .github/workflows/CI.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 70d3766..ab12be8 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -21,7 +21,9 @@ jobs: job: - os: ubuntu-latest publish: true + - os: macos-latest + - os: windows-latest env: From 080878789b77fd234d0f0d1e7a2a2c777978ae92 Mon Sep 17 00:00:00 2001 From: "Artem V. Ageev" Date: Thu, 13 Feb 2025 10:50:28 +0200 Subject: [PATCH 4/5] Update CI.yml --- .github/workflows/CI.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index ab12be8..a143b6a 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -19,12 +19,21 @@ jobs: strategy: matrix: job: - - os: ubuntu-latest + - target: x86_64-unknown-linux-gnu + os: ubuntu-latest + test: false publish: true - - os: macos-latest + - target: x86_64-apple-darwin + test: false + os: macos-latest - - os: windows-latest + - target: aarch64-apple-darwin + os: macos-latest + + - target: x86_64-pc-windows-msvc + test: false + os: windows-latest env: PROGRAM_NAME: wethr From 0275c6c77a52ec81e05ba58ce887dee2243db435 Mon Sep 17 00:00:00 2001 From: "Artem V. Ageev" Date: Thu, 13 Feb 2025 10:53:32 +0200 Subject: [PATCH 5/5] add check step --- .github/workflows/CI.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index a143b6a..912da68 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -66,7 +66,13 @@ jobs: with: command: fmt args: --all -- --check - + + - name: Cargo check + uses: actions-rs/cargo@v1 + with: + command: check + args: --release --target=${{ matrix.job.target }} + - name: Cargo test uses: actions-rs/cargo@v1 with: