Bump golang.org/x/crypto from 0.0.0-20220622213112-05595931fe9d to 0.17.0 #129
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: "Syncron" | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Clone repository" | |
uses: actions/checkout@v3 | |
- name: "Setup Go" | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ">=1.17.0" | |
- name: "Run linter - StaticCheck" | |
uses: dominikh/[email protected] | |
with: | |
version: "2022.1" | |
install-go: false | |
- name: Run Gosec Security Scanner | |
uses: securego/gosec@master | |
with: | |
args: ./... | |
- name: "Build syncron binary" | |
run: go build -v -o .go/builds/syncron main.go | |
- name: "Run tests - All" | |
run: go test -v ./... | |
- name: Run golangci-lint | |
uses: golangci/[email protected] | |
- name: "Publish artifacts - Binaries" | |
uses: actions/upload-artifact@v3 | |
with: | |
name: "Binaries" | |
path: .go/builds |