Skip to content

Remove action for creating pr and use gh cli instead #1126

Remove action for creating pr and use gh cli instead

Remove action for creating pr and use gh cli instead #1126

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@v4
- uses: actions/setup-go@v5
with:
go-version: '1.20'
- uses: actions/cache@v4
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@v4
- uses: actions/setup-go@v5
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