Skip to content

Update module github.com/pterm/pterm to v0.12.79 #77

Update module github.com/pterm/pterm to v0.12.79

Update module github.com/pterm/pterm to v0.12.79 #77

Workflow file for this run

name: Test
on:
pull_request:
push:
branches: [ main ]
workflow_dispatch:
jobs:
setup:
if: github.event_name == 'pull_request' || !(github.event_name == 'push' && github.ref == 'refs/heads/main')
outputs:
branch: ${{ steps.set_branch_variable.outputs.branch }}
runs-on: ubuntu-latest
steps:
- id: set_branch_variable
name: Set Branch Variable
uses: emmahsax/github-actions/set-branch-variable@main
gitleaks:
uses: emmahsax/github-actions/.github/workflows/gitleaks.yml@main
with:
gitleaks_config_paths: "[
'go.sum',
]"
go-test:
if: github.event_name == 'pull_request' || !(github.event_name == 'push' && github.ref == 'refs/heads/main')
needs: [ setup ]
uses: emmahsax/github-actions/.github/workflows/go-test.yml@main
with:
branch: ${{ needs.setup.outputs.branch }}
build_command: task build