Bump golang.org/x/crypto from 0.31.0 to 0.35.0 #956
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
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| name: go test | |
| jobs: | |
| test: | |
| strategy: | |
| matrix: | |
| go-version: [1.21.x] | |
| os: [ubuntu-latest, macos-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Install Go | |
| uses: actions/setup-go@v2 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Caching | |
| uses: actions/cache@v2 | |
| with: | |
| path: ~/go/pkg | |
| key: ${{ runner.os }}-kool-${{ hashFiles('**/go.sum') }} | |
| restore-keys: | | |
| ${{ runner.os }}-kool- | |
| - name: Download dependencies | |
| run: | | |
| go mod download | |
| go install | |
| - name: Test | |
| if: matrix.os == 'macos-latest' | |
| run: go test ./... | |
| - name: Test with code coverage | |
| if: matrix.os == 'ubuntu-latest' | |
| run: go test -race -coverprofile=coverage.txt -covermode=atomic ./... | |
| - name: Code Coverage | |
| if: matrix.os == 'ubuntu-latest' | |
| run: bash <(curl -s https://codecov.io/bash) |