Skip to content

Use hashicorp retryable http #825

Use hashicorp retryable http

Use hashicorp retryable http #825

Workflow file for this run

name: package manager CI
on:
workflow_dispatch: # Allow manual runs.
pull_request:
branches: [ 'main' ]
push:
branches: [ 'main' ]
permissions:
contents: read
jobs:
build-and-test:
name: CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.20'
- uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Build, test
run: |
cd debian_package_manager
make update generate test
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: golangci-lint
uses: golangci/[email protected]
timeout-minutes: 5
with:
# version: latest
# pinned until https://github.com/golangci/golangci-lint/issues/3862 is fixed
version: v1.52
working-directory: debian_package_manager