Use HERMES_SERVER_DB_PASSWORD env var for postgresql password #1058
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: ci | |
on: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main] | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: "read" | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup with node and yarn | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "16" | |
cache-dependency-path: "web/yarn.lock" | |
- name: Set yarn version | |
run: make web/set-yarn-version | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: "^1.18" | |
- name: Build web | |
run: make web/build | |
- name: Run web test | |
run: make web/test | |
- name: Build | |
run: make bin/linux | |
- name: Run Go test | |
run: make go/test |