update golang/x/crypto version, and golang version. #273
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: Go | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ^1.23.0 | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: Check tidy go modules | |
run: |- | |
make fmt tidy license | |
[ -z "$(git status --porcelain)" ] || | |
(echo "git status shows difference after make commands" && exit 1) | |
- name: Lint, Build, and Test | |
run: make lint vet license-check build test |