Skip to content

Bump github.com/hashicorp/go-retryablehttp from 0.7.0 to 0.7.7 (#40) #70

Bump github.com/hashicorp/go-retryablehttp from 0.7.0 to 0.7.7 (#40)

Bump github.com/hashicorp/go-retryablehttp from 0.7.0 to 0.7.7 (#40) #70

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches: [master]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
go-version: [1.18.x]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54.2
args: --timeout=5m
install-mode: binary
- name: Tests
run: |
go mod tidy
go test -v ./...
go test -cpu=1 -short -race ./...
go test -cpu=4 -short -race ./...
go-releaser-check:
needs: build
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.18.x
- name: Checkout code
uses: actions/checkout@v3
- name: goreleaser deprecation
run: curl -sfL https://git.io/goreleaser | VERSION=v1.2.5 sh -s -- check
- name: goreleaser snapshot
run: curl -sL https://git.io/goreleaser | VERSION=v1.2.5 sh -s -- --snapshot --skip-publish --rm-dist