Skip to content

adjust Debian and Go versions in CI #11

adjust Debian and Go versions in CI

adjust Debian and Go versions in CI #11

Workflow file for this run

name: Go
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
container:
debian:buster
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.20
- name: Get dependencies
run: |
go get -v -t -d ./...
sudo apt-get install -y libzmq3-dev
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...
- name: Provide binary as artifact
uses: actions/upload-artifact@v2
with:
name: tie-threatbus-bridge-executable
path: tie-threatbus-bridge