fix: correct typo in smoke test and use binary install mode for golangci-lint
This commit is contained in:
@@ -45,7 +45,7 @@ jobs:
|
|||||||
- name: Lint
|
- name: Lint
|
||||||
uses: golangci/golangci-lint-action@v6
|
uses: golangci/golangci-lint-action@v6
|
||||||
with:
|
with:
|
||||||
install-mode: goinstall
|
install-mode: binary
|
||||||
version: v2.1.6
|
version: v2.1.6
|
||||||
|
|
||||||
test-linux:
|
test-linux:
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ run_test "read file in workspace" "pass" "$GREYWALL_BIN" -c "cat $WORKSPACE/test
|
|||||||
|
|
||||||
# Test: Write outside workspace blocked
|
# Test: Write outside workspace blocked
|
||||||
# Create a settings file that only allows write to current workspace
|
# Create a settings file that only allows write to current workspace
|
||||||
SETTINGS_FILE="$WORKSPAC./greywall.json"
|
SETTINGS_FILE="$WORKSPACE/greywall.json"
|
||||||
cat > "$SETTINGS_FILE" << EOF
|
cat > "$SETTINGS_FILE" << EOF
|
||||||
{
|
{
|
||||||
"filesystem": {
|
"filesystem": {
|
||||||
|
|||||||
Reference in New Issue
Block a user