Skip to content

chore: move to internal packages #10

chore: move to internal packages

chore: move to internal packages #10

Workflow file for this run

# SPDX-FileCopyrightText: The matrix-alertmanager-receiver Authors
# SPDX-License-Identifier: GPL-3.0-or-later
name: Verify Commits
on:
push:
branches: [ main ]
paths:
- .github/workflows/verify.yml
- go.mod
- go.sum
- main.go
- alertmanager/**
- config/**
- handler/**
- matrix/**
pull_request:
branches: [ main ]
paths:
- .github/workflows/verify.yml
- go.mod
- go.sum
- main.go
- alertmanager/**
- config/**
- handler/**
- matrix/**
jobs:
test:
name: Tests on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- windows-latest
- ubuntu-latest
steps:
- id: checkout
name: Checkout
uses: actions/checkout@v4
- id: setup_go
name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
cache: true
- id: tests
name: Run Tests
run: go test ./...