@@ -19,11 +19,11 @@ jobs:
1919 container :
2020 image : ghcr.io/linux-nvme/debian.python:latest
2121 steps :
22- - uses : actions/checkout@v5
22+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2323 - name : build
2424 run : |
2525 scripts/build.sh -b ${{ matrix.buildtype }} -c ${{ matrix.compiler }} -x
26- - uses : actions/upload-artifact@v5
26+ - uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
2727 name : upload logs
2828 if : failure()
2929 with :
@@ -40,26 +40,24 @@ jobs:
4040 - arch : s390x
4141 - arch : ppc64le
4242 steps :
43- - uses : actions/checkout@v5
43+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4444 - name : enable foreign arch
45- uses : dbhi/qus/ action@main
45+ uses : docker/setup-qemu- action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4.0.0
4646 - name : Login to GitHub Container Registry
47- uses : docker/login-action@v3
47+ uses : docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
4848 with :
4949 registry : ghcr.io
5050 username : ${{ github.actor }}
5151 password : ${{ secrets.GITHUB_TOKEN }}
5252 - name : compile and run unit tests
53- uses : mosteo-actions/docker-run@v2
54- with :
55- image : ghcr.io/linux-nvme/ubuntu-cross-${{ matrix.arch }}:latest
56- guest-dir : /build
57- host-dir : ${{ github.workspace }}
58- command : |
59- scripts/build.sh -b release -c gcc -t ${{ matrix.arch }} cross
60- params : " --platform linux/amd64"
61- pull-params : " --platform linux/amd64"
62- - uses : actions/upload-artifact@v5
53+ run : |
54+ docker run --rm \
55+ --platform linux/amd64 \
56+ -v "${{ github.workspace }}:/build" \
57+ -w /build \
58+ ghcr.io/linux-nvme/ubuntu-cross-${{ matrix.arch }}:latest \
59+ sh -c "git config --global --add safe.directory /build && scripts/build.sh -b release -c gcc -t ${{ matrix.arch }} cross"
60+ - uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
6361 name : upload logs
6462 if : failure()
6563 with :
@@ -73,11 +71,11 @@ jobs:
7371 container :
7472 image : ghcr.io/linux-nvme/debian:latest
7573 steps :
76- - uses : actions/checkout@v5
74+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
7775 - name : build
7876 run : |
7977 scripts/build.sh -b release -c gcc libdbus
80- - uses : actions/upload-artifact@v5
78+ - uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
8179 name : upload logs
8280 if : failure()
8381 with :
@@ -92,11 +90,11 @@ jobs:
9290 image : ghcr.io/linux-nvme/debian:latest
9391 if : github.ref == 'refs/heads/master'
9492 steps :
95- - uses : actions/checkout@v5
93+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
9694 - name : build
9795 run : |
9896 scripts/build.sh -b release -c gcc fallback
99- - uses : actions/upload-artifact@v5
97+ - uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
10098 if : failure()
10199 with :
102100 name : log files
@@ -109,7 +107,7 @@ jobs:
109107 container :
110108 image : ghcr.io/linux-nvme/debian:latest
111109 steps :
112- - uses : actions/checkout@v5
110+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
113111 - name : build
114112 run : |
115113 scripts/build.sh -m muon
0 commit comments