housekeeping, go mod, dependencies update (#44) #140
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: | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')" | |
name: Run unit tests | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.ref }} | |
- name: Install dependencies | |
run: yarn install --immutable --prefer-offline | |
- name: Setup Go environment | |
uses: actions/setup-go@v3 | |
with: | |
go-version: "1.22.4" | |
- name: Test Backend | |
run: yarn test:backend |