Skip to content

chore: workflow dispatch added #186

chore: workflow dispatch added

chore: workflow dispatch added #186

Workflow file for this run

name: Build
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Lint
run: |
make init
make lint
- name: Install dependencies
run: go get .
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...
security-gates:
uses: Trendyol/security-actions/.github/workflows/security-gates.yml@main

Check failure on line 39 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

error parsing called workflow ".github/workflows/build.yml" -> "Trendyol/security-actions/.github/workflows/security-gates.yml@main" : workflow was not found. See https://docs.github.com/actions/learn-github-actions/reusing-workflows#access-to-reusable-workflows for more information.
needs: build
permissions:
actions: read
contents: read
security-events: write