Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ jobs:
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
Expand Down Expand Up @@ -87,6 +87,6 @@ jobs:
exit 1

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@v4
with:
category: "/language:${{matrix.language}}"
16 changes: 8 additions & 8 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ runs:

- name: Upload artifacts (logs)
if: ${{ inputs.step == 'run-self-hosted-validation' }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: logs
path: |
Expand All @@ -140,7 +140,7 @@ runs:

- name: Upload artifacts (benchmarks)
if: ${{ inputs.step == 'run-self-hosted-validation' }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: benchmarks
path: |
Expand All @@ -151,7 +151,7 @@ runs:

- name: Upload artifacts (results)
if: ${{ inputs.step == 'run-self-hosted-validation' }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: results
path: |
Expand All @@ -177,7 +177,7 @@ runs:

- name: Download artifacts
if: ${{ inputs.step == 'create-comment' }}
uses: actions/download-artifact@v4
uses: actions/download-artifact@v6

- name: Move artifacts to home directory
if: ${{ inputs.step == 'create-comment' }}
Expand Down Expand Up @@ -223,7 +223,7 @@ runs:

- name: Checkout model repo
if: ${{ inputs.step == 'create-comment' }}
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0
path: model-repo
Expand Down Expand Up @@ -255,7 +255,7 @@ runs:

- name: Checkout validator repo
if: ${{ inputs.step == 'create-comment' }}
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
repository: lkstrp/pypsa-validator
ref: ${{ github.repository }}
Expand Down Expand Up @@ -365,7 +365,7 @@ runs:
- name: Retrieve or create comment
if: ${{ inputs.step == 'create-comment' }}
id: comment
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const owner = context.repo.owner;
Expand Down Expand Up @@ -408,7 +408,7 @@ runs:

- name: Update comment
if: ${{ inputs.step == 'create-comment' }}
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const fs = require('fs');
Expand Down