Skip to content

[CONFIG] [Github Actions] Now use fixed version of Github Actions ima… #153

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

Merged
merged 3 commits into from
Dec 11, 2024
Merged
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
3 changes: 1 addition & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ jobs:
# - https://gh.io/using-larger-runners (GitHub.com only)
# Consider using larger runners or machines with greater resources
# for possible analysis time improvements.
runs-on:
${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
runs-on: ${{ (matrix.language == 'swift' && 'macos-14') || 'ubuntu-24.04' }}
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
permissions:
# required for all workflows
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:
jobs:
build:
name: "Build Docker images"
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:

lint:
name: "Run in docker: LINT"
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: build
steps:
- name: Download artifact
Expand All @@ -91,7 +91,7 @@ jobs:

test:
name: "Run in docker: TEST"
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: build
steps:
- name: Download artifact
Expand All @@ -111,7 +111,7 @@ jobs:

security:
name: "Snyk Container"
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: build
permissions:
actions: read
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
sarif_file: "snyk.sarif"
scan:
name: "Trivy"
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: build
permissions:
actions: read
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/dotnet-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
# yamllint enable rule:line-length

---

name: .NET Coverage
name: dotNET Coverage

on: # yamllint disable-line rule:truthy
push:
Expand All @@ -16,12 +15,12 @@ on: # yamllint disable-line rule:truthy
workflow_dispatch:

jobs:
build:
name: "Run CI"
coverage:
name: "Run Coverage"
strategy:
fail-fast: false
matrix:
os: ["windows-latest"]
os: ["windows-2022"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
13 changes: 4 additions & 9 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
# yamllint enable rule:line-length

---

name: .NET Tests
name: dotNET Tests

on: # yamllint disable-line rule:truthy
push:
Expand All @@ -16,16 +15,12 @@ on: # yamllint disable-line rule:truthy
workflow_dispatch:

jobs:
build:
name: "Run CI"
test:
name: "Run Tests"
strategy:
fail-fast: false
matrix:
os: [
"windows-latest",
"ubuntu-latest",
"macOS-latest"
]
os: ["windows-2022", "ubuntu-24.04", "macos-14"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gitleaks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on: # yamllint disable-line rule:truthy
jobs:
scan:
name: gitleaks
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/markdown-lint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---

name: Markdown Lint

on: # yamllint disable-line rule:truthy
Expand All @@ -13,20 +12,19 @@ on: # yamllint disable-line rule:truthy
permissions: read-all

jobs:
build:

runs-on: ubuntu-latest
markdownlint:
name: Markdown Lint
runs-on: ubuntu-24.04

strategy:
matrix:
os: [ubuntu-latest]
node-version: [22.x]
# See supported Node.js release schedule
# at https://nodejs.org/en/about/releases/

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snyk-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on: # yamllint disable-line rule:truthy

jobs:
security:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
actions: read
contents: read
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---

name: SonarCloud

on: # yamllint disable-line rule:truthy
Expand All @@ -12,14 +11,14 @@ on: # yamllint disable-line rule:truthy
jobs:
build:
name: Build and analyze
runs-on: windows-latest
runs-on: windows-2022
steps:
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 21
# Alternative distribution options are available.
distribution: 'temurin'
distribution: "temurin"
- uses: actions/checkout@v4
with:
# Shallow clones should be disabled for a better relevancy of analysis
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/yamllint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ on: # yamllint disable-line rule:truthy

jobs:
lint:
runs-on: ubuntu-latest
name: YAML Lint
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
Expand Down