chore: add host-group read permissions to manifest #19
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |