Skip to content

Merge pull request #44 from il-blood-donation-info/updates #100

Merge pull request #44 from il-blood-donation-info/updates

Merge pull request #44 from il-blood-donation-info/updates #100

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Build scraper
run: |
go env -w GO111MODULE=on
#export GOROOT=""
echo "GOROOT: $GOROOT"
go env
go build -v -o bin/scraper ./cmd/scraper/main.go
- name: Build server
run: go build -v -o bin/server ./cmd/server/main.go
- name: Build cert
run: go build -v -o bin/tls-self-signed-cert ./cmd/cert
# - name: Test
# run: go test -v ./...