github.com/blong14/gache@v0.0.0-20240124023949-89416fd8bbfa/.github/workflows/manual.yml (about) 1 # This is a basic workflow that is manually triggered 2 3 name: Manual workflow 4 5 # Controls when the action will run. Workflow runs when manually triggered using the UI 6 # or API. 7 on: 8 workflow_dispatch: 9 10 jobs: 11 12 build: 13 runs-on: ubuntu-latest 14 steps: 15 - uses: actions/checkout@v2 16 17 - name: Install system dependencies 18 run: | 19 sudo apt update 20 sudo apt-get update 21 sudo apt-get -y install libbrotli-dev 22 - name: Set up Go 23 uses: actions/setup-go@v2 24 with: 25 go-version: 1.18 26 27 - name: Bench Concurrent 28 run: go test -cpu=1,2,4,8 -bench=BenchmarkConcurrent -run=XXX ./...