fix(deps): update module github.com/spf13/cobra to v1.9.1 #522
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 | |
on: | |
push: | |
branches: | |
- main | |
- beta | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
- ready_for_review | |
merge_group: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
prefetch: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
- name: Setup Go | |
uses: actions/[email protected] | |
with: | |
go-version: "1.22" | |
cache-dependency-path: "**/*.sum" | |
test-unit: | |
needs: [prefetch] | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go-version: ["1.22", "1.23"] | |
defaults: | |
run: | |
working-directory: ./pangea-sdk | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
- name: Setup Go | |
uses: actions/[email protected] | |
with: | |
go-version: ${{ matrix.go-version }} | |
cache-dependency-path: ./pangea-sdk/go.sum | |
- name: Unit test | |
run: make unit | |
examples: | |
needs: [prefetch] | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
example: | |
- audit | |
- authn | |
- embargo | |
- file_scan | |
- intel | |
- redact | |
- vault | |
defaults: | |
run: | |
working-directory: ./examples/${{ matrix.example }} | |
permissions: | |
contents: read | |
pull-requests: read | |
checks: write | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
- name: Setup Go | |
uses: actions/[email protected] | |
with: | |
go-version: "1.22" | |
cache-dependency-path: ./examples/${{ matrix.example }}/go.sum | |
# TODO: reorganize each individual example into their own directory to | |
# enable tools like this. | |
# - name: golangci-lint | |
# uses: golangci/[email protected] | |
# with: | |
# version: v1.55.2 | |
# working-directory: ./examples/${{ matrix.example }} |