Skip to content

internal/tsutil: add exponential falloff to retries when polling #302

internal/tsutil: add exponential falloff to retries when polling

internal/tsutil: add exponential falloff to retries when polling #302

Workflow file for this run

name: Lint and Test
env:
dependencies: libgtk-4-dev libadwaita-1-dev
go-version: 1.22.5
on:
workflow_dispatch:
push:
branches:
- master
pull_request:
jobs:
go-vet:
name: go vet
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Dependencies
run: |
apt-get update
apt-get install -y ${{ env.dependencies }}
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ${{ env.go-version }}
- name: go vet
run: go vet -v ./...
staticcheck:
name: staticcheck
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Dependencies
run: |
apt-get update
apt-get install -y ${{ env.dependencies }}
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ${{ env.go-version }}
- name: Staticcheck
uses: dominikh/[email protected]
with:
install-go: false
go-test:
name: go test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Dependencies
run: |
apt-get update
apt-get install -y ${{ env.dependencies }}
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ${{ env.go-version }}
- name: go test
run: go test -v ./...