File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed
Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change 66 pull_request :
77 branches : [ main ]
88
9+ permissions :
10+ contents : read
11+ security-events : write
12+ actions : read
13+
914jobs :
1015 devcontainer-test :
1116 runs-on : ubuntu-latest
@@ -14,10 +19,15 @@ jobs:
1419 - name : Checkout
1520 uses : actions/checkout@v4
1621
22+ - name : Install missing dependencies
23+ run : sudo apt-get update && sudo apt-get install -y tcl
24+
25+ - name : Validate docker-compose.yml
26+ run : docker-compose -f .devcontainer/docker-compose.yml config
27+
1728 - name : Build and test devcontainer
1829 uses :
devcontainers/[email protected] 1930 with :
20- imageName : ghcr.io/idvoretskyi/dev
2131 runCmd : |
2232 # Test basic tools are available
2333 which docker
2636 which gh
2737 which node
2838 which npm
29- # Test SSH server setup
30- ls -la /run/sshd
3139 # Test essential packages
3240 curl --version
3341 jq --version
5563 if : always()
5664 with :
5765 sarif_file : ' trivy-results.sarif'
66+ env :
67+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5868
5969 - name : Generate SBOM
6070 uses : anchore/sbom-action@v0
You can’t perform that action at this time.
0 commit comments