Skip to content

Commit

Permalink
prep for release (#2)
Browse files Browse the repository at this point in the history
* enable Code Scanning

* updates to Nomad 1.5.0 🎉

* changes lockfile to version 2 to allow for Snyk inspections

* expands permissions

* bumps `github-actions-core` to `0.3.0`
  • Loading branch information
ksatirli authored Mar 9, 2023
1 parent f62c353 commit 6428c5f
Show file tree
Hide file tree
Showing 4 changed files with 275 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/actions-self-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: nomad version

- name: Validate `nomad` version is accurate
run: "nomad version | grep --silent 'Nomad v1.4.5'"
run: "nomad version | grep --silent 'Nomad v1.5.0'"

- name: Run `nomad fmt`
run: nomad fmt "${{ github.action_path }}./test/example.nomad.hcl"
Expand Down
15 changes: 10 additions & 5 deletions .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ jobs:
snyk:
runs-on: ubuntu-latest

permissions:
security-events: write
actions: read
contents: read

strategy:
# see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstrategyfail-fast
fail-fast: false
Expand All @@ -28,8 +33,8 @@ jobs:
# see https://github.com/snyk/actions/tree/master/node#uploading-snyk-scan-results-to-github-code-scanning
args: --policy-path=.snyk --sarif-file-output=snyk.sarif --org=${{ secrets.SNYK_ORG }}

# # see https://github.com/github/codeql-action/tree/main/upload-sarif
# - name: Upload Snyk IaC results to GitHub Code Scanning
# uses: github/codeql-action/upload-sarif@v2
# with:
# sarif_file: snyk.sarif
# see https://github.com/github/codeql-action/tree/main/upload-sarif
- name: Upload Snyk IaC results to GitHub Code Scanning
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: snyk.sarif
265 changes: 263 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@actions/core": "^1.10.0",
"@actions/io": "^1.1.2",
"@actions/tool-cache": "^2.0.1",
"@hashicorp/github-actions-core": "github:hashicorp/github-actions-core#v0.2.0",
"@hashicorp/github-actions-core": "github:hashicorp/github-actions-core#v0.3.0",
"@vercel/ncc": "^0.36.1"
},
"devDependencies": {
Expand Down

0 comments on commit 6428c5f

Please sign in to comment.