chore: Add tests for Mikrotik API client code #35
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
name: Release | |
on: | |
# Manual Trigger | |
workflow_dispatch: | |
inputs: | |
dry-run: | |
description: Dry Run | |
required: false | |
default: false | |
type: boolean | |
# Dry Run on any PR that changes this pipeline or that should ultimately trigger a release when merged | |
pull_request: | |
paths: | |
- ".github/workflows/git-release.yaml" | |
- "go.mod" | |
- "go.sum" | |
- "**/**.go" | |
# "Wet" Run on any push to the main branch that modified a go-related file | |
push: | |
branches: ["main", "master"] | |
paths: | |
- "go.mod" | |
- "go.sum" | |
- "**/**.go" | |
jobs: | |
git: | |
uses: mirceanton/reusable-workflows/.github/workflows/reusable-release-semver.yaml@1f67ebf2d8aa5a366dc1a2179911c7edaea8a5af # v3.4.18 | |
secrets: inherit | |
with: | |
dry-run: ${{ inputs.dry-run || github.event_name == 'pull_request' }} |