Skip to content

Add random function (#514) #154

Add random function (#514)

Add random function (#514) #154

Workflow file for this run

name: Go
on:
push:
branches:
- main
- "release-**"
pull_request:
branches:
- main
- "release-**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21
- name: Vendor
run: go mod vendor
- name: Build
run: make
- name: Install go-acc
run: go install github.com/ory/go-acc@latest
- name: Test Genji
run: go-acc $(go list ./...) -- -mod vendor -race -timeout=2m
- name: Test Genji CLI
run: cd ./cmd/genji && go test -race ./... && cd -
- name: Upload Codecov
run: bash <(curl -s https://codecov.io/bash)