fix: upgrade golangci-lint to v2.1.6 and download tun2socks in CI
This commit is contained in:
@@ -46,7 +46,7 @@ jobs:
|
|||||||
uses: golangci/golangci-lint-action@v6
|
uses: golangci/golangci-lint-action@v6
|
||||||
with:
|
with:
|
||||||
install-mode: goinstall
|
install-mode: goinstall
|
||||||
version: v1.64.8
|
version: v2.1.6
|
||||||
|
|
||||||
test-linux:
|
test-linux:
|
||||||
name: Test (Linux)
|
name: Test (Linux)
|
||||||
@@ -105,6 +105,9 @@ jobs:
|
|||||||
echo "=== Testing bwrap with user namespace ==="
|
echo "=== Testing bwrap with user namespace ==="
|
||||||
bwrap --ro-bind / / --unshare-user --uid 0 --gid 0 -- /bin/echo "bwrap user namespace works!"
|
bwrap --ro-bind / / --unshare-user --uid 0 --gid 0 -- /bin/echo "bwrap user namespace works!"
|
||||||
|
|
||||||
|
- name: Download tun2socks binaries
|
||||||
|
run: make download-tun2socks
|
||||||
|
|
||||||
- name: Run unit and integration tests
|
- name: Run unit and integration tests
|
||||||
run: make test-ci
|
run: make test-ci
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user