Skip to content

build(deps): bump debian from stable-20261104 to stable-20261123 in the debian group #4638

build(deps): bump debian from stable-20261104 to stable-20261123 in the debian group

build(deps): bump debian from stable-20261104 to stable-20261123 in the debian group #4638

Workflow file for this run

name: Validate examples
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions: read-all
jobs:
examples:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
show-progress: false
- name: Set up Go
uses: actions/setup-go@d8cbb8045d7f43706b9177cceb36c1f91a6644d5 # v7.1.0
with:
go-version-file: go.ver
cache: false
- name: Build binary
run: make
- name: Generate dummy TLS certificates
run: |
sudo mkdir -p /etc/pint/certs
sudo chmod 777 /etc/pint/certs
openssl req -x509 -newkey rsa:2048 -keyout /dev/null -out /etc/pint/certs/ca.pem -days 1 -nodes -subj "/CN=test-ca"
openssl req -x509 -newkey rsa:2048 -keyout /etc/pint/certs/client.key -out /etc/pint/certs/client.pem -days 1 -nodes -subj "/CN=test-client"
- name: Verify examples
env:
AUTH_KEY: "12345"
PROMETHEUS_AUTH_TOKEN: "abcdef"
run: |
for CFG in docs/examples/* ; do
echo ">>> $CFG"
./pint -c "$CFG" config
done