Skip to content

ci-ristretto-tests #8944

ci-ristretto-tests

ci-ristretto-tests #8944

name: ci-ristretto-tests
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: "0 0 * * *"
jobs:
ristretto-tests:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Get Go Version
run: |
#!/bin/bash
GOVERSION=$({ [ -f .go-version ] && cat .go-version; })
echo "GOVERSION=$GOVERSION" >> $GITHUB_ENV
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GOVERSION }}
- name: Run Unit Tests
run: go test -timeout=20m -race -covermode atomic -coverprofile=covprofile ./...
- name: Save coverage profile
uses: actions/upload-artifact@v3
with:
name: covprofile
path: ./covprofile