Skip to content

Merge pull request #41 from CrowdStrike/chore/ugprade_go_sdk #23

Merge pull request #41 from CrowdStrike/chore/ugprade_go_sdk

Merge pull request #41 from CrowdStrike/chore/ugprade_go_sdk #23

Workflow file for this run

name: Sample CI
on: [ push, pull_request ]
jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.21.x'
- name: Install Go dependencies
run: |
cd functions/Func_Jobs
go get .
cd ../job_history
go get .
- name: Build Go functions
run: |
go build -C functions/Func_Jobs
go build -C functions/job_history
- name: Use Node 20
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
cache-dependency-path: ui/pages/scalable-rtr-react/yarn.lock
- name: Run yarn install
uses: borales/actions-yarn@v5
with:
cmd: install
dir: ui/pages/scalable-rtr-react
- name: Build React app
uses: borales/actions-yarn@v5
with:
cmd: build
dir: ui/pages/scalable-rtr-react
- name: Test the React app
uses: borales/actions-yarn@v5
with:
cmd: test
dir: ui/pages/scalable-rtr-react