Skip to content

Commit 61b7473

Browse files
authored
Merge pull request #9 from NordicPlayground/tmp-probe-rs-release
Prepare temporary probe-rs release
2 parents bfe3e45 + ca81fbf commit 61b7473

File tree

385 files changed

+15670
-4931
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

385 files changed

+15670
-4931
lines changed

.github/workflows/changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
steps:
2323
- name: Checkout sources
24-
uses: actions/checkout@v4
24+
uses: actions/checkout@v5
2525

2626
- uses: swatinem/rust-cache@v2
2727
with:

.github/workflows/ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636

3737
steps:
3838
- name: Checkout sources
39-
uses: actions/checkout@v4
39+
uses: actions/checkout@v5
4040

4141
- name: Install libudev (linux)
4242
run: |
@@ -46,7 +46,7 @@ jobs:
4646
if: (matrix.os == 'ubuntu-latest') || (matrix.os == 'ubuntu-22.04')
4747

4848
- name: Cache Dependencies
49-
uses: Swatinem/rust-cache@v2.7.8
49+
uses: Swatinem/rust-cache@v2.8.1
5050

5151
- name: cargo check for probe-rs, --no-default-features
5252
run: cargo check -p probe-rs --no-default-features --locked
@@ -72,7 +72,7 @@ jobs:
7272

7373
steps:
7474
- name: Checkout sources
75-
uses: actions/checkout@v4
75+
uses: actions/checkout@v5
7676

7777
- name: Install libudev (linux)
7878
run: |
@@ -85,7 +85,7 @@ jobs:
8585
run: rustup target add thumbv7m-none-eabi
8686

8787
- name: Cache Dependencies
88-
uses: Swatinem/rust-cache@v2.7.8
88+
uses: Swatinem/rust-cache@v2.8.1
8989

9090
- name: Run cargo test
9191
run: cargo test --all-features --locked
@@ -95,7 +95,7 @@ jobs:
9595
runs-on: ubuntu-latest
9696
steps:
9797
- name: Checkout sources
98-
uses: actions/checkout@v4
98+
uses: actions/checkout@v5
9999

100100
- name: Run cargo fmt
101101
run: cargo fmt --all -- --check
@@ -105,39 +105,39 @@ jobs:
105105
runs-on: ubuntu-latest
106106
steps:
107107
- name: Checkout sources
108-
uses: actions/checkout@v4
108+
uses: actions/checkout@v5
109109

110110
- name: Install libudev
111111
run: |
112112
sudo apt update
113113
sudo apt install -y libudev-dev
114114
115115
- name: Cache Dependencies
116-
uses: Swatinem/rust-cache@v2.7.8
116+
uses: Swatinem/rust-cache@v2.8.1
117117

118118
- name: Run cargo clippy
119119
run: cargo clippy --all-features --all-targets --locked -- -D warnings
120120

121121
cargo-deny:
122122
runs-on: ubuntu-latest
123123
steps:
124-
- uses: actions/checkout@v4
124+
- uses: actions/checkout@v5
125125
- uses: EmbarkStudios/cargo-deny-action@v2
126126

127127
doc:
128128
name: Check docs
129129
runs-on: ubuntu-latest
130130
steps:
131131
- name: Checkout sources
132-
uses: actions/checkout@v4
132+
uses: actions/checkout@v5
133133

134134
- name: Install libudev
135135
run: |
136136
sudo apt update
137137
sudo apt install -y libudev-dev
138138
139139
- name: Cache Dependencies
140-
uses: Swatinem/rust-cache@v2.7.8
140+
uses: Swatinem/rust-cache@v2.8.1
141141

142142
- name: Run cargo doc
143143
run: cargo doc -p probe-rs --no-deps --all-features --locked

.github/workflows/dispatch_webpage_update.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Dispatch workflow in repo with submodule
22
on:
33
push:
4+
branches:
5+
- master
46
paths:
57
- probe-rs/targets/**
68

.github/workflows/release_crates.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
steps:
2222
- name: Checkout sources
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@v5
2424
with:
2525
fetch-depth: 0 # This is a workaround for cargo-release, see https://github.com/crate-ci/cargo-release/issues/625
2626
# We need to manually set a token here to ensure that we can trigger the `cargo dist` workflow.

.github/workflows/smoketest.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,18 @@ jobs:
2424

2525
steps:
2626
- name: Checkout sources
27-
uses: actions/checkout@v4
27+
uses: actions/checkout@v5
2828

2929
- name: Install target for cross-compilation
3030
run: rustup target add aarch64-unknown-linux-gnu
3131

3232
- name: Install cross
33-
uses: taiki-e/install-action@v2.50.10
33+
uses: taiki-e/install-action@v2.62.33
3434
with:
3535
tool: cross
3636

3737
- name: Cache Dependencies
38-
uses: Swatinem/rust-cache@v2.7.8
38+
uses: Swatinem/rust-cache@v2.8.1
3939

4040
- name: Build smoke-tester
4141
run: cross build --release --target aarch64-unknown-linux-gnu -p smoke_tester
@@ -62,7 +62,7 @@ jobs:
6262
needs: build
6363

6464
steps:
65-
- uses: actions/download-artifact@v4
65+
- uses: actions/download-artifact@v5
6666
with:
6767
name: smoke_tester
6868

@@ -80,7 +80,7 @@ jobs:
8080
needs: build
8181

8282
steps:
83-
- uses: actions/download-artifact@v4
83+
- uses: actions/download-artifact@v5
8484
with:
8585
name: probe-rs
8686

.github/workflows/start-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
env:
1818
BRANCH_NAME: create-release/${{ inputs.version }}
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v5
2121
with:
2222
# The custom token is needed so that this workflow can trigger
2323
# another workflow. By default, pushing tags from inside a workflow

.github/workflows/v-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file was autogenerated by dist: https://opensource.axo.dev/cargo-dist/
1+
# This file was autogenerated by dist: https://axodotdev.github.io/cargo-dist
22
#
33
# Copyright 2022-2024, axodotdev
44
# SPDX-License-Identifier: MIT or Apache-2.0
@@ -65,7 +65,7 @@ jobs:
6565
# we specify bash to get pipefail; it guards against the `curl` command
6666
# failing. otherwise `sh` won't catch that `curl` returned non-0
6767
shell: bash
68-
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.28.0/cargo-dist-installer.sh | sh"
68+
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.28.2/cargo-dist-installer.sh | sh"
6969
- name: Cache dist
7070
uses: actions/upload-artifact@v4
7171
with:
@@ -145,7 +145,7 @@ jobs:
145145
dist build ${{ needs.plan.outputs.tag-flag }} --print=linkage --output-format=json ${{ matrix.dist_args }} > dist-manifest.json
146146
echo "dist ran successfully"
147147
- name: Attest
148-
uses: actions/attest-build-provenance@v1
148+
uses: actions/attest-build-provenance@v2
149149
with:
150150
subject-path: "target/distrib/*${{ join(matrix.targets, ', ') }}*"
151151
- id: cargo-dist

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
77
# IDE settings
88
.vscode/settings.json
99
.idea/
10+
.zed/

.zed/debug.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// Project-local debug tasks
2+
//
3+
// For more documentation on how to configure debug tasks,
4+
// see: https://zed.dev/docs/debugger
5+
[
6+
{
7+
"label": "Debug DAP server",
8+
"adapter": "CodeLLDB",
9+
"program": "target/debug/probe-rs",
10+
"request": "launch",
11+
"args": ["dap-server", "--single-session", "--port", "50000"],
12+
"build": {
13+
"command": "cargo",
14+
"args": ["build", "--bin", "probe-rs"]
15+
}
16+
}
17+
]

0 commit comments

Comments
 (0)