Skip to content

Commit

Permalink
fix: revert workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
GangGreenTemperTatum committed Nov 8, 2024
1 parent 7e46494 commit 04e0d22
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/validate_robopages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ jobs:
- name: Set up Docker
uses: docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # 3.7.1

- name: Install validation dependencies
run: |
sudo apt-get update
sudo apt-get install -y binutils strings
- name: Validate Contribution Files
id: robopages-validation
continue-on-error: true
Expand All @@ -49,15 +44,13 @@ jobs:
docker pull dreadnode/robopages:latest
# Run validation without Docker socket and skip container checks
# Run validation with Docker socket mounted
docker run --rm \
-v $(pwd):/workspace \
-v /var/run/docker.sock:/var/run/docker.sock \
-w /workspace \
dreadnode/robopages:latest validate \
--path "$(printf '%q' "$file")" \
--skip-docker \
--skip-container-validation
--privileged \
dreadnode/robopages:latest validate --path "$(printf '%q' "$file")" --skip-docker
}
# Get changed files using GitHub's provided variables
Expand Down

0 comments on commit 04e0d22

Please sign in to comment.