Skip to content

feat: add comprehensive security workflow and enhance Dependabot configuration #87

feat: add comprehensive security workflow and enhance Dependabot configuration

feat: add comprehensive security workflow and enhance Dependabot configuration #87

Workflow file for this run

name: Continuous Integration
on:
push:
branches:
- main
pull_request:
jobs:
test-makefile:
name: build and test makefile
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: "1.25"
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y make tar diffutils bzip2 gzip curl git
- name: run make
run: make
test-fedora:
name: build and test on Fedora latest
runs-on: ubuntu-latest
container:
image: quay.io/fedora/fedora:latest
options: --user root
steps:
- name: Install dependencies
run: |
dnf update -y
dnf install -y golang make tar diffutils bzip2 gzip curl git which
- name: Mark repo as safe for git
run: git config --global --add safe.directory $GITHUB_WORKSPACE
- name: Check out repository
uses: actions/checkout@v6
- name: Build and test
run: make
version-release:
runs-on: ubuntu-latest
needs: [test-makefile, test-fedora]
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-tags: true
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v6
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_APP_ID }}