Bump version to 0.8.8 #690
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: Test | |
on: | |
push: | |
workflow_call: | |
defaults: | |
run: | |
shell: bash -l {0} | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup development environment | |
uses: ./.github/actions/setup-env | |
- name: Start background services | |
run: dev & | |
- name: Build Go binaries | |
run: make build | |
- name: Run Go tests | |
run: make test | |
test-fuzz: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup development environment | |
uses: ./.github/actions/setup-env | |
- name: Start background services | |
run: dev & | |
- name: Build Go binaries | |
run: make build | |
- name: Setup DateiLager project | |
run: make setup-local | |
- name: Start DateiLager server | |
run: make server & | |
- name: Wait for DateiLager server | |
run: sleep 5 | |
- name: Run fuzz tests | |
run: make test-fuzz | |
test-js: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup development environment | |
uses: ./.github/actions/setup-env | |
- name: Start background services | |
run: dev & | |
- name: Build Go binaries | |
run: make build | |
- name: Setup DateiLager project | |
run: make setup-local | |
- name: Start DateiLager server | |
run: make server & | |
- name: Wait for DateiLager server | |
run: sleep 5 | |
- name: Run JS tests | |
run: make test-js | |
- name: Run JS lints | |
run: make lint-js | |
golangci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.22" | |
- name: Run golangci-lint | |
uses: golangci/golangci-lint-action@v5 | |
with: | |
version: latest | |
args: --timeout=2m |