Skip to content

chore: update actions for backport #353

chore: update actions for backport

chore: update actions for backport #353

Workflow file for this run

name: Build
on:
push:
branches: [master, backport/1.1.x]
pull_request:
branches: [master]
types: [opened, reopened, synchronize]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
- 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@master
needs: build
permissions:
actions: read
contents: read
security-events: write