mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-25 23:49:37 -05:00
752571bbf8
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
27 lines
561 B
YAML
27 lines
561 B
YAML
name: Golangci-lint
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
permissions:
|
|
contents: read
|
|
# Allow read access to pull request. Use with `only-new-issues` option.
|
|
pull-requests: read
|
|
|
|
jobs:
|
|
golangci:
|
|
name: lint
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
GOPRIVATE: github.com/edgelesssys/*
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Install Dependencies
|
|
run: sudo apt-get update && sudo apt-get -y install libcryptsetup-dev
|
|
|
|
- name: golangci-lint
|
|
uses: golangci/golangci-lint-action@v2
|
|
with:
|
|
only-new-issues: true
|