mirror of
https://github.com/crowdsecurity/cs-firewall-bouncer.git
synced 2024-08-19 01:18:49 +03:00
30 lines
471 B
YAML
30 lines
471 B
YAML
name: Go
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- testing
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
- testing
|
|
|
|
jobs:
|
|
|
|
build:
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Set up Go 1.20.1
|
|
uses: actions/setup-go@v3
|
|
with:
|
|
go-version: 1.20.1
|
|
id: go
|
|
- name: Check out code into the Go module directory
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Build
|
|
run: make build
|