Skip to content

Bump ubuntu from 25.04 to 26.04 #107

Bump ubuntu from 25.04 to 26.04

Bump ubuntu from 25.04 to 26.04 #107

Workflow file for this run

---
name: "CodeQL and Linter Analysis"
"on":
push:
jobs:
analyze-shell:
name: Analyze Shell Scripts
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Install ShellCheck
run: sudo apt-get install -y shellcheck
- name: Run ShellCheck
run: |
find . -name '*.sh' -print0 | xargs -0 shellcheck
analyze-dockerfile:
name: Analyze Dockerfiles
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Install hadolint
run: |
wget -O /usr/local/bin/hadolint \
https://github.com/hadolint/hadolint/releases/download/v2.10.0/hadolint-Linux-x86_64 && \
chmod +x /usr/local/bin/hadolint
- name: Run hadolint
run: |
find . -name 'Dockerfile' -print0 | \
xargs -0 /usr/local/bin/hadolint
analyze-yaml:
name: Analyze YAML Files
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Install yamllint
run: |
pip install yamllint
- name: Run yamllint on all YAML files
run: |
find . -name '*.yml' -print0 -o -name '*.yaml' -print0 | \
xargs -0 yamllint