Bump golang.org/x/crypto from 0.13.0 to 0.15.0 #67
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 MacOS | |
on: | |
push: | |
pull_request: | |
jobs: | |
check: | |
runs-on: macOS-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.darwin-amd64.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: Run integration tests for command utility. | |
run: ./tests.sh | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Upload binary | |
uses: actions/upload-artifact@v3 | |
with: | |
name: git-ring | |
path: ./git-ring |