Skip to content

Commit

Permalink
Update CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
syn-4ck committed Dec 7, 2024
1 parent 700647c commit 614d130
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on: # yamllint disable-line rule:truthy
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Checkout repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/flake8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on: # yamllint disable-line rule:truthy

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gitguardian-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on: # yamllint disable-line rule:truthy
jobs:
scanning:
name: GitGuardian scan
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on: # yamllint disable-line rule:truthy

jobs:
container-analysis:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2

Expand Down
35 changes: 23 additions & 12 deletions .github/workflows/yaml-lint.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,31 @@
---
name: Yaml Lint
on: # yamllint disable-line rule:truthy
name: Super Lint
on:
push:
pull_request:
workflow_dispatch:

jobs:
yamllint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
build:
name: Lint
runs-on: ubuntu-24.04

permissions:
contents: read
packages: read
# To report GitHub Actions status checks
statuses: write

- name: YAML Lint and Annotate
uses: Staffbase/[email protected]
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
## The target path is processed recursively
target-path: .
# super-linter needs the full git history to get the
# list of files that changed across commits
fetch-depth: 0

- name: Super-linter
uses: super-linter/[email protected] # x-release-please-version
env:
# To report GitHub Actions status checks
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 614d130

Please sign in to comment.