build(deps): bump golang.org/x/sys from 0.10.0 to 0.13.0 in /backend #1278
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: tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
frontend: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
- name: Install dependencies | |
run: npm install | |
- name: Run tests | |
run: npm test | |
backend: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.20' | |
- 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@v3 | |
with: | |
working-directory: ./backend | |
version: v1.53.3 | |
args: --config=.golangci.yml --verbose --out-${NO_FUTURE}format colored-line-number | |
skip-cache: true | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
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) |