Skip to content

Commit 6224a62

Browse files
committed
fix 3
1 parent 3bc43b3 commit 6224a62

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
runs-on: ${{ matrix.os }}
1919

2020
steps:
21+
- uses: actions-rust-lang/setup-rust-toolchain@v1
22+
2123
- name: check bpf
2224
run: |
2325
cat /boot/config-$(uname -r) | grep BPF
@@ -26,7 +28,6 @@ jobs:
2628
run: |
2729
sudo apt-get update
2830
sudo apt-get install -y gcc clang llvm libbpf-dev zlib1g-dev libelf-dev autopoint pkg-config flex bison
29-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
3031
git clone --recurse-submodules https://github.com/libbpf/bpftool.git
3132
cd bpftool/src
3233
make
@@ -40,7 +41,6 @@ jobs:
4041

4142
- name: build and install
4243
run: |
43-
. "$HOME/.cargo/env"
4444
sudo ./install.sh
4545
trace_v3 install
4646

0 commit comments

Comments
 (0)