Skip to content

Update module golang.org/x/crypto to v0.31.0 #439

Update module golang.org/x/crypto to v0.31.0

Update module golang.org/x/crypto to v0.31.0 #439

Workflow file for this run

name: ci
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup golang
uses: actions/setup-go@v5
with:
go-version: 1.19
- name: Install dependencies
run: go mod download
- name: Run check
run: go vet ./...
- name: Run build
run: go build cmd/ssh-provision/ssh-provision.go
- name: Run test
run: go test -race -coverprofile=coverage.out -covermode=atomic ./...
- name: Upload coverage
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.out
fail_ci_if_error: true