Update module github.com/spf13/cobra to v1.10.2 #808
Workflow file for this run
This file contains hidden or 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] | |
| jobs: | |
| golangci-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code into the Go module directory | |
| uses: actions/checkout@v3 | |
| - name: golangci-lint | |
| uses: reviewdog/action-golangci-lint@v2 | |
| with: | |
| github_token: ${{ secrets.github_token }} | |
| test: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| fail-fast: false | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Install Go | |
| uses: actions/setup-go@v3 | |
| with: | |
| go-version: '1.24' | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Run tests | |
| run: go test ./... | |
| gomobile-ios: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Install Go | |
| uses: actions/setup-go@v3 | |
| with: | |
| go-version: '1.24' | |
| - name: Install Gomobile | |
| run: go install golang.org/x/mobile/cmd/gomobile@latest | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Initialize Gomobile | |
| run: gomobile init | |
| working-directory: gomobile | |
| - name: Build for iOS | |
| run: gomobile bind -target ios -v | |
| working-directory: gomobile |