update README and add TLS handshake svg #17
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: Go | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: 1.24.3 | |
| - name: Check out code into the Go module directory | |
| uses: actions/checkout@v4 | |
| - name: Build and Lint | |
| run: | | |
| go build ./... | |
| go vet -tests=false ./... # Specifically for examples without a corresponding identifier | |
| test: | |
| name: Text ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| steps: | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: 1.24.3 | |
| - name: Check out code into the Go module directory | |
| uses: actions/checkout@v4 | |
| - name: Test on ${{ matrix.os }} | |
| run: | | |
| go test ./... | |
| fips140: | |
| name: 'Test FIPS 140' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: 1.24.3 | |
| - name: Check out code into the Go module directory | |
| uses: actions/checkout@v4 | |
| - name: Test | |
| run: | | |
| GODEBUG=fips140=on go test ./... | |
| vulncheck: | |
| name: Vulncheck | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Set up Go ${{ matrix.go-version }} | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: 1.24.3 | |
| - name: Check out code into the Go module directory | |
| uses: actions/checkout@v4 | |
| - name: Get govulncheck | |
| run: go install golang.org/x/vuln/cmd/govulncheck@latest | |
| shell: bash | |
| - name: Run govulncheck | |
| run: govulncheck ./... | |
| shell: bash |