Skip to content

create workflow

create workflow #1

Workflow file for this run

name: "Build"
on:
push:
branches: ["master", "main"]
pull_request:
branches: ["*"]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.23.0'
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...
security-gates:
uses: Trendyol/security-actions/.github/workflows/security-gates.yml@master
needs: build
permissions:
actions: read
contents: read
security-events: write