Compare commits

...

4 commits

Author SHA1 Message Date
84f562554c
Merge pull request #322 from wneessen/gh-workflow-updates
Update GitHub Actions paths for Go and workflow files
2024-10-04 15:33:44 +02:00
d931050a6f
Update GitHub Actions paths for Go and workflow files
This commit refines the paths in GitHub Actions workflows to more precisely track changes in Go-related files and specific workflow files. General `.github/**` paths have been replaced with explicit references to relevant workflow files within `.github/workflows`.
2024-10-04 15:28:22 +02:00
04023a1a25
Merge pull request #321 from wneessen/dependabot/github_actions/github/codeql-action-3.26.11
Bump github/codeql-action from 3.26.10 to 3.26.11
2024-10-04 15:23:46 +02:00
dependabot[bot]
fe36f3b294
Bump github/codeql-action from 3.26.10 to 3.26.11
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.10 to 3.26.11.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](e2b3eafc8d...6db8d6351f)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-04 13:17:57 +00:00
5 changed files with 18 additions and 12 deletions

View file

@ -10,7 +10,7 @@ on:
paths: paths:
- '**.go' - '**.go'
- 'go.*' - 'go.*'
- '.github/**' - '.github/workflows/codecov.yml'
- 'codecov.yml' - 'codecov.yml'
pull_request: pull_request:
branches: branches:
@ -18,7 +18,7 @@ on:
paths: paths:
- '**.go' - '**.go'
- 'go.*' - 'go.*'
- '.github/**' - '.github/workflows/codecov.yml'
- 'codecov.yml' - 'codecov.yml'
env: env:
TEST_HOST: ${{ secrets.TEST_HOST }} TEST_HOST: ${{ secrets.TEST_HOST }}

View file

@ -54,7 +54,7 @@ jobs:
# Initializes the CodeQL tools for scanning. # Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL - name: Initialize CodeQL
uses: github/codeql-action/init@e2b3eafc8d227b0241d48be5f425d47c2d750a13 # v3.26.10 uses: github/codeql-action/init@6db8d6351fd0be61f9ed8ebd12ccd35dcec51fea # v3.26.11
with: with:
languages: ${{ matrix.language }} languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file. # If you wish to specify custom queries, you can do so here or in a config file.
@ -65,7 +65,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below) # If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild - name: Autobuild
uses: github/codeql-action/autobuild@e2b3eafc8d227b0241d48be5f425d47c2d750a13 # v3.26.10 uses: github/codeql-action/autobuild@6db8d6351fd0be61f9ed8ebd12ccd35dcec51fea # v3.26.11
# Command-line programs to run using the OS shell. # Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl # 📚 https://git.io/JvXDl
@ -79,4 +79,4 @@ jobs:
# make release # make release
- name: Perform CodeQL Analysis - name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@e2b3eafc8d227b0241d48be5f425d47c2d750a13 # v3.26.10 uses: github/codeql-action/analyze@6db8d6351fd0be61f9ed8ebd12ccd35dcec51fea # v3.26.11

View file

@ -10,16 +10,14 @@ on:
paths: paths:
- '**.go' - '**.go'
- 'go.*' - 'go.*'
- '.github/**' - '.github/workflows/offline-tests.yml'
- 'codecov.yml'
pull_request: pull_request:
branches: branches:
- main - main
paths: paths:
- '**.go' - '**.go'
- 'go.*' - 'go.*'
- '.github/**' - '.github/workflows/offline-tests.yml'
- 'codecov.yml'
permissions: permissions:
contents: read contents: read

View file

@ -75,6 +75,6 @@ jobs:
# Upload the results to GitHub's code scanning dashboard. # Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning" - name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@e2b3eafc8d227b0241d48be5f425d47c2d750a13 # v3.26.10 uses: github/codeql-action/upload-sarif@6db8d6351fd0be61f9ed8ebd12ccd35dcec51fea # v3.26.11
with: with:
sarif_file: results.sarif sarif_file: results.sarif

View file

@ -10,10 +10,18 @@ permissions:
on: on:
push: push:
branches: branches:
- main # or the name of your main branch - main
paths:
- '**.go'
- 'go.*'
- '.github/workflows/sonarqube.yml'
pull_request: pull_request:
branches: branches:
- main # or the name of your main branch - main
paths:
- '**.go'
- 'go.*'
- '.github/workflows/sonarqube.yml'
jobs: jobs:
build: build:
name: Build name: Build