Skip to content

Update Github flows #22

Update Github flows

Update Github flows #22

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:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Build API
run: go build -C api
- name: Test API
run: go test -C api ./tests/...
- name: Build pipelines
run: go build -C backend/pipelines
- name: Test pipelines
run: go test -C backend/pipelines ./tests/...
- name: Build users
run: go build -C backend/users
- name: Test users
run: go test -C backend/users ./tests/...
- name: Build statistics
run: go build -C backend/statistics
build-integrations:
runs-on: public.ecr.aws/b5q6i6w4/ylem-public-images:latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Build integrations
run: go build -C backend/integrations
- name: Build taskrunner
run: go build -C processor/taskrunner
- name: Test taskrunner
run: go test -C processor/taskrunner ./tests/...