Skip to content
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
115 changes: 0 additions & 115 deletions .github/workflows/BSD-tests.yml

This file was deleted.

97 changes: 0 additions & 97 deletions .github/workflows/build.yml

This file was deleted.

12 changes: 10 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,19 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v6

- name: Set up Go (latest version)
- name: Dotenv Action
id: dotenv
uses: falti/dotenv-action@v1
with:
path: .github/workflows/env
log-variables: true

- name: Set up Go ${{ steps.dotenv.outputs.go_version }}
uses: actions/setup-go@v6
with:
go-version: '>=1.26.0'
go-version: ${{ steps.dotenv.outputs.go_version }}
check-latest: true
cache: true

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
15 changes: 12 additions & 3 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Documentation Build
name: Build Documentation

on:
workflow_dispatch:
Expand All @@ -23,10 +23,19 @@ jobs:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod

- name: Set up Go
- name: Dotenv Action
id: dotenv
uses: falti/dotenv-action@v1
with:
path: .github/workflows/env
log-variables: true

- name: Set up Go ${{ steps.dotenv.outputs.go_version }}
uses: actions/setup-go@v6
with:
go-version: ~1.26
go-version: ${{ steps.dotenv.outputs.go_version }}
check-latest: true
cache: true

- name: Check configuration snippets in documentation
run: go run ./config/checkdoc -r docs/content -i changelog.md
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

jobs:
goreleaser:
name: Rebuild docker image
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -21,11 +22,19 @@ jobs:
export LATEST_TAG=`git describe --tags --abbrev=0`
git checkout $LATEST_TAG

- name: Set up Go
- name: Dotenv Action
id: dotenv
uses: falti/dotenv-action@v1
with:
path: .github/workflows/env
log-variables: true

- name: Set up Go ${{ steps.dotenv.outputs.go_version }}
uses: actions/setup-go@v6
with:
go-version: ~1.26
go-version: ${{ steps.dotenv.outputs.go_version }}
check-latest: true
cache: true

- name: Set up QEMU
uses: docker/setup-qemu-action@v4
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
go_version=1.26
lint_version=v2.11.4
25 changes: 25 additions & 0 deletions .github/workflows/freebsd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Test on FreeBSD

on:
workflow_dispatch:
push:
branches: [ master ]
paths-ignore:
- 'docs/**'

pull_request:
types: [opened, synchronize, reopened]
paths-ignore:
- 'docs/**'

jobs:
build:
name: Run tests
strategy:
matrix:
freebsd_version: ['14.3', '15.0']
uses: ./.github/workflows/run-tests-vm.yml
with:
os: 'freebsd'
os_version: '${{ matrix.freebsd_version }}'
secrets: inherit
20 changes: 20 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Test on macOS

on:
push:
branches: [ master ]
paths-ignore:
- 'docs/**'

pull_request:
types: [opened, synchronize, reopened]
paths-ignore:
- 'docs/**'

jobs:
build:
name: Build and run tests on macOS
uses: ./.github/workflows/run-tests-os.yml
with:
os: 'macos-latest'
secrets: inherit
25 changes: 25 additions & 0 deletions .github/workflows/netbsd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Test on NetBSD

on:
workflow_dispatch:
push:
branches: [ master ]
paths-ignore:
- 'docs/**'

pull_request:
types: [opened, synchronize, reopened]
paths-ignore:
- 'docs/**'

jobs:
build:
name: Run tests
strategy:
matrix:
netbsd_version: ['10.1']
uses: ./.github/workflows/run-tests-vm.yml
with:
os: 'netbsd'
os_version: '${{ matrix.netbsd_version }}'
secrets: inherit
25 changes: 25 additions & 0 deletions .github/workflows/openbsd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Test on OpenBSD

on:
workflow_dispatch:
push:
branches: [ master ]
paths-ignore:
- 'docs/**'

pull_request:
types: [opened, synchronize, reopened]
paths-ignore:
- 'docs/**'

jobs:
build:
name: Run tests
strategy:
matrix:
openbsd_version: ['7.8']
uses: ./.github/workflows/run-tests-vm.yml
with:
os: 'openbsd'
os_version: '${{ matrix.openbsd_version }}'
secrets: inherit
Loading
Loading