Bump golang.org/x/crypto from 0.0.0-20220411220226-7b82a4e95df4 to 0.35.0 in /politeia #439
This file contains hidden or 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: Build and Test | |
on: [push, pull_request] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
name: Go CI | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go: ["1.23", "1.24"] | |
steps: | |
- name: Check out source | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Set up Go | |
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Install Linters | |
run: "go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.64.5" | |
- name: Build | |
run: go build ./... | |
- name: Lint | |
run: | | |
golangci-lint run | |
- name: Test | |
run: go test -v ./... |