feat(acl): support more JWT algorithms for ACL #406
Workflow file for this run
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-dgraph-fuzz | |
on: | |
push: | |
branches: | |
- main | |
- 'release/**' | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- ready_for_review | |
branches: | |
- main | |
- 'release/**' | |
schedule: | |
- cron: "0 */8 * * *" # every 8hrs | |
jobs: | |
fuzz-test: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Get Go Version | |
run: | | |
#!/bin/bash | |
GOVERSION=$({ [ -f .go-version ] && cat .go-version; }) | |
echo "GOVERSION=$GOVERSION" >> $GITHUB_ENV | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ env.GOVERSION }} | |
- name: Run fuzz tests | |
run: | | |
#!/bin/bash | |
# go env settings | |
export GOPATH=~/go | |
go test ./dql -fuzz="Fuzz" -fuzztime="300s" -fuzzminimizetime="120s" |