1 Commits

Author SHA1 Message Date
juanarias8
ed00c24506 chore(ci): update golangci-lint and fix script paths
Some checks failed
Build and test / Build (pull_request) Successful in 10s
Build and test / Lint (pull_request) Failing after 13s
Build and test / Test (Linux) (pull_request) Failing after 1m13s
- bump golangci-lint-action to v7 and version to v2.1.6
- correct directory paths in `smoke_test.sh`
- update `test` and `test-ci` targets in Makefile
2026-03-10 20:35:56 -05:00
2 changed files with 5 additions and 5 deletions

View File

@@ -43,7 +43,7 @@ jobs:
run: go mod download
- name: Lint
uses: golangci/golangci-lint-action@v6
uses: golangci/golangci-lint-action@v7
with:
version: v2.1.6

View File

@@ -25,11 +25,11 @@ GREYWALL_BIN="${1:-}"
if [[ -z "$GREYWALL_BIN" ]]; then
if [[ -x "./greywall" ]]; then
GREYWALL_BIN="./greywall"
elif [[ -x "./dis./greywall" ]]; then
GREYWALL_BIN="./dis./greywall"
elif [[ -x "./dist/greywall" ]]; then
GREYWALL_BIN="./dist/greywall"
else
echo "Building greywall..."
go build -o ./greywall ./cm./greywall
go build -o ./greywall ./cmd/greywall
GREYWALL_BIN="./greywall"
fi
fi
@@ -121,7 +121,7 @@ run_test "read file in workspace" "pass" "$GREYWALL_BIN" -c "cat $WORKSPACE/test
# Test: Write outside workspace blocked
# 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
{
"filesystem": {