Bump golang.org/x/crypto from 0.21.0 to 0.23.0 #105
Workflow file for this run
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: Tests on Linux | |
on: | |
push: | |
pull_request: | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Download particular version of Go | |
run: curl -o go.tar.gz https://storage.googleapis.com/golang/go1.20.1.linux-amd64.tar.gz | |
- name: Digest of compiler | |
run: sha256sum go.tar.gz | |
- name: Install Go | |
run: sudo tar -C /usr/local -xzf go.tar.gz | |
- name: Install Go | |
run: sudo echo "/usr/local/go/bin" >> $GITHUB_PATH | |
- name: Verify dependencies | |
run: go mod verify | |
- name: Build | |
run: go build -v ./... | |
- name: Run go vet | |
run: go vet ./... | |
- name: Install staticcheck | |
run: GOBIN=/usr/local/bin/ go install honnef.co/go/tools/cmd/staticcheck@latest | |
- name: Run staticcheck | |
run: staticcheck ./... | |
- name: Run unit tests | |
run: go test -race -vet=off ./... | |
- name: Build command util | |
run: go build -asmflags -trimpath | |
- name: Install dependencies for command utility tests. | |
run: sudo apt update -y && sudo apt install -y ssh | |
- name: Run integration tests for command utility. | |
run: ./tests.sh | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Digest of binary | |
run: sha256sum ./git-ring | |
- name: Upload binary | |
uses: actions/upload-artifact@v3 | |
with: | |
name: git-ring | |
path: ./git-ring |