aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/codeql-analysis.yml
diff options
context:
space:
mode:
authorSergei Kozelko <KozelkoS@yandex.ru>2022-09-09 05:40:51 +0000
committerGitHub <noreply@github.com>2022-09-09 05:40:51 +0000
commitaddd6705edfc846f210c8bd36d8355493462d879 (patch)
tree4508ebd7ec6c17f292d018d26c06377d201669e4 /.github/workflows/codeql-analysis.yml
parente04fedfc64cbe570a2934e05c1e8e4da7b6ddb28 (diff)
downloadinfinity-for-reddit-addd6705edfc846f210c8bd36d8355493462d879.tar
infinity-for-reddit-addd6705edfc846f210c8bd36d8355493462d879.tar.gz
infinity-for-reddit-addd6705edfc846f210c8bd36d8355493462d879.tar.bz2
infinity-for-reddit-addd6705edfc846f210c8bd36d8355493462d879.tar.lz
infinity-for-reddit-addd6705edfc846f210c8bd36d8355493462d879.tar.xz
infinity-for-reddit-addd6705edfc846f210c8bd36d8355493462d879.tar.zst
infinity-for-reddit-addd6705edfc846f210c8bd36d8355493462d879.zip
Update GitHub workflows (#995)
* Update CodeQL to v2 v1 is deprecated, see https://github.blog/changelog/2022-04-27-code-scanning-deprecation-of-codeql-action-v1/ * Use gradle action for build * Update checkout to v3 * Update setup-java to v3 * Update upload-artifact to v3 * Setup Dependabot to update GitHub actions
Diffstat (limited to '.github/workflows/codeql-analysis.yml')
-rw-r--r--.github/workflows/codeql-analysis.yml11
1 files changed, 6 insertions, 5 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index f4dc0ba2..abfccdee 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -2,7 +2,8 @@ name: CodeQL
on:
push:
- branches: master
+ branches:
+ - master
pull_request:
workflow_dispatch:
schedule:
@@ -19,15 +20,15 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: Initialize CodeQL
- uses: github/codeql-action/init@v1
+ uses: github/codeql-action/init@v2
with:
languages: java
- name: Autobuild
- uses: github/codeql-action/autobuild@v1
+ uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@v1
+ uses: github/codeql-action/analyze@v2