docker: bump nginxinc/nginx-unprivileged from 0569600
to aea7920
#1337
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: tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
frontend: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 | |
with: | |
submodules: true | |
- name: Use Node.js | |
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d | |
with: | |
node-version: '18.x' | |
- name: Install dependencies | |
run: npm install | |
- name: Run tests | |
run: npm test | |
backend: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 | |
- name: Setup Go | |
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe | |
with: | |
go-version: '1.20.10' | |
- name: Check Go module vendoring | |
working-directory: ./backend | |
run: | | |
go mod tidy | |
go mod vendor | |
go mod verify | |
test -z "$(git status --porcelain)" || (echo "please run 'go mod tidy && go mod vendor', and submit your changes"; exit 1) | |
- name: Run Go static checks | |
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc | |
with: | |
working-directory: ./backend | |
version: v1.54.2 | |
args: --config=.golangci.yml --verbose --out-${NO_FUTURE}format colored-line-number | |
skip-cache: true | |
- name: Setup Node.js | |
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d | |
with: | |
node-version: '18.x' | |
- name: Install NPM dependencies | |
run: npm install | |
- name: Check proto files | |
working-directory: ./backend | |
run: | | |
./ctl.sh update-proto | |
test -z "$(git status --porcelain)" || (echo "please run './ctl.sh update-proto', and submit your changes"; exit 1) |