Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

Commit f6b7c86

Browse files
authored
Merge pull request #415 from GoogleContainerTools/cleanup
Bring repository up to date
2 parents 5d44978 + d26f7e6 commit f6b7c86

14 files changed

+42
-279
lines changed

.github/workflows/build.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: "Build and test"
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request: {}
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
17+
- name: Install Go
18+
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
19+
with:
20+
go-version-file: go.mod
21+
- name: Install addlicense
22+
run: go install github.com/google/addlicense@v1.1.1
23+
- name: Run tests
24+
run: make test
25+
- name: Run integration tests
26+
run: make integration

boilerplate/boilerplate.Dockerfile.txt

Lines changed: 0 additions & 14 deletions
This file was deleted.

boilerplate/boilerplate.Makefile.txt

Lines changed: 0 additions & 14 deletions
This file was deleted.

boilerplate/boilerplate.go.txt

Lines changed: 0 additions & 16 deletions
This file was deleted.

boilerplate/boilerplate.py

Lines changed: 0 additions & 170 deletions
This file was deleted.

boilerplate/boilerplate.py.txt

Lines changed: 0 additions & 16 deletions
This file was deleted.

boilerplate/boilerplate.sh.txt

Lines changed: 0 additions & 14 deletions
This file was deleted.

differs/apt_diff.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import (
2828
"github.com/sirupsen/logrus"
2929
)
3030

31-
//APT package database location
31+
// APT package database location
3232
const dpkgStatusFile string = "var/lib/dpkg/status"
3333

3434
type AptAnalyzer struct {

differs/emerge_diff.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import (
2828
"github.com/sirupsen/logrus"
2929
)
3030

31-
//Emerge package database location
31+
// Emerge package database location
3232
const emergePkgFile string = "/var/db/pkg"
3333

3434
type EmergeAnalyzer struct{}

differs/rpm_diff.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ import (
4545
"github.com/sirupsen/logrus"
4646
)
4747

48-
//RPM macros file location
48+
// RPM macros file location
4949
const rpmMacros string = "/usr/lib/rpm/macros"
5050

51-
//RPM command to extract packages from the rpm database
51+
// RPM command to extract packages from the rpm database
5252
var rpmCmd = []string{
5353
"rpm", "--nodigest", "--nosignature",
5454
"-qa", "--qf", "%{NAME}\t%{VERSION}-%{RELEASE}\t%{SIZE}\n",

0 commit comments

Comments
 (0)