Skip to content

Update dependency golang to v1.21.3 - autoclosed #18

Update dependency golang to v1.21.3 - autoclosed

Update dependency golang to v1.21.3 - autoclosed #18

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
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