File tree Expand file tree Collapse file tree 2 files changed +18
-3
lines changed
Expand file tree Collapse file tree 2 files changed +18
-3
lines changed Original file line number Diff line number Diff line change 2525 timeout-minutes : 45
2626 steps :
2727 - uses : actions/checkout@v4
28+ with :
29+ persist-credentials : false
2830 - uses : dtolnay/rust-toolchain@master
2931 with :
3032 toolchain : ${{matrix.toolchain}}
4850 timeout-minutes : 45
4951 steps :
5052 - uses : actions/checkout@v4
53+ with :
54+ persist-credentials : false
5155 - uses : dtolnay/rust-toolchain@master
5256 with :
5357 toolchain : 1.77.0
6771 RUSTDOCFLAGS : -Dwarnings
6872 steps :
6973 - uses : actions/checkout@v4
74+ with :
75+ persist-credentials : false
7076 - uses : dtolnay/rust-toolchain@nightly
7177 - uses : dtolnay/install@cargo-docs-rs
7278 - run : cargo docs-rs --package ktls
7884 timeout-minutes : 45
7985 steps :
8086 - uses : actions/checkout@v4
87+ with :
88+ persist-credentials : false
8189 - uses : dtolnay/rust-toolchain@master
8290 with :
8391 toolchain : 1.77.0
Original file line number Diff line number Diff line change 1717 description : " Space-separated list of Linux kernel versions to test (e.g., '6.12 6.6 6.1.148 5.15.189 5.10.240 5.4.296')"
1818 required : true
1919
20+ permissions :
21+ contents : read
22+
2023jobs :
2124 prepare-matrix :
2225 runs-on : ubuntu-latest
2629 - name : Set matrix
2730 id : set-matrix
2831 run : |
29- if [ -n "${{ github.event.inputs.kernel_versions } }" ]; then
32+ if [ -n "${GITHUB_EVENT_INPUTS_KERNEL_VERSIONS }" ]; then
3033 # Manual trigger with custom versions
31- versions="${{ github.event.inputs.kernel_versions } }"
34+ versions="${GITHUB_EVENT_INPUTS_KERNEL_VERSIONS }"
3235 echo "Using manual input versions: $versions"
3336 else
3437 # Default versions for push events
4043 json_array=$(echo "$versions" | tr ' ' '\n' | jq -R . | jq -s -c .)
4144 echo "matrix={\"kernel_version\":$json_array}" >> $GITHUB_OUTPUT
4245 echo "Generated matrix: {\"kernel_version\":$json_array}"
46+ env :
47+ GITHUB_EVENT_INPUTS_KERNEL_VERSIONS : ${{ github.event.inputs.kernel_versions }}
4348
4449 build :
4550 needs : prepare-matrix
5257 steps :
5358 - name : Checkout repository
5459 uses : actions/checkout@v4
60+ with :
61+ persist-credentials : false
5562
5663 - name : Install dependencies
5764 run : |
@@ -165,7 +172,7 @@ jobs:
165172 run : |
166173 qemu-system-x86_64 \
167174 -device isa-debug-exit,iobase=0xf4,iosize=0x04 \
168- -kernel linux-${{ env. KERNEL_VERSION } }/arch/x86/boot/bzImage \
175+ -kernel linux-${KERNEL_VERSION}/arch/x86/boot/bzImage \
169176 -initrd initramfs.cpio.gz \
170177 -netdev user,id=net0 \
171178 -device e1000,netdev=net0 \
You can’t perform that action at this time.
0 commit comments