Bump undici from 5.28.4 to 5.28.5 in /frontend in the npm_and_yarn group across 1 directory #104
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: Run tests | |
on: | |
pull_request: | |
branches: | |
- dev | |
- main | |
jobs: | |
run-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup golang | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ">=1.22.5" | |
- name: Cache Go modules | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cache/go-build | |
~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- name: Install dependencies | |
run: | | |
cd backend/ | |
go mod tidy | |
- name: Run tests | |
run: | | |
cd backend/ | |
go test -v ./... |