github.com/yankunsam/loki/v2@v2.6.3-0.20220817130409-389df5235c27/.github/workflows/operator-scorecard.yaml (about) 1 name: operator scorecard 2 3 on: 4 push: 5 paths: 6 - 'operator/**' 7 branches: [ main ] 8 pull_request: 9 paths: 10 - 'operator/**' 11 12 jobs: 13 build: 14 name: scorecard 15 runs-on: ubuntu-latest 16 strategy: 17 fail-fast: false 18 matrix: 19 go: ['1.18'] 20 steps: 21 - name: Set up Go 1.x 22 uses: actions/setup-go@v3 23 with: 24 go-version: ${{ matrix.go }} 25 id: go 26 - uses: engineerd/setup-kind@v0.5.0 27 with: 28 version: "v0.11.1" 29 - uses: actions/checkout@v3 30 - name: Install make 31 run: sudo apt-get install make 32 - name: Run scorecard 33 run: make scorecard 34 working-directory: ./operator