Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade CodeQL Action and Ruby version in GitHub Actions #611

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Expand Up @@ -29,7 +29,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -38,4 +38,4 @@ jobs:
# queries: ./path/to/local/query, your-org/your-repo/queries@main

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
2 changes: 1 addition & 1 deletion .github/workflows/github-action.yml
Expand Up @@ -45,6 +45,6 @@ jobs:
input_path: github-action/tests
extra_args: -o sarif
output_path: cfn_nag.sarif
- uses: github/codeql-action/upload-sarif@v1
- uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: cfn_nag.sarif
4 changes: 2 additions & 2 deletions .github/workflows/tests-linting.yml
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
fail-fast: false # Allows both ruby versions to run before failing
matrix:
ruby: ['2.5', '3.0']
ruby: ['2.5', '3.1']

steps:
- uses: actions/checkout@master
Expand All @@ -42,7 +42,7 @@ jobs:
strategy:
fail-fast: false # Allows both ruby versions to run before failing
matrix:
ruby: ['2.5', '3.0']
ruby: ['2.5', '3.1']

steps:
# is this the same commit hash we saw in commit?
Expand Down
4 changes: 2 additions & 2 deletions github-action/README.md
Expand Up @@ -75,7 +75,7 @@ Search the `templates` directory and upload the results to GitHub's Code Scannin
input_path: templates
extra_args: -o sarif
output_path: cfn_nag.sarif
- uses: github/codeql-action/upload-sarif@v1
- uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: cfn_nag.sarif
```
Expand All @@ -84,4 +84,4 @@ Search the `templates` directory and upload the results to GitHub's Code Scannin

To report a bug or request a feature, submit an issue through the GitHub repository via: https://github.com/stelligent/cfn_nag/issues/new

Pull requests are welcome as well: https://github.com/stelligent/cfn_nag/pulls
Pull requests are welcome as well: https://github.com/stelligent/cfn_nag/pulls