Skip to content

Commit

Permalink
linter (intentional failure)
Browse files Browse the repository at this point in the history
  • Loading branch information
thepwagner committed May 25, 2022
1 parent 7c5b3d0 commit 9f282a4
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
23 changes: 19 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
with:
fetch-depth: 0
- name: Get latest Go version
id: gover
run: echo ::set-output name=goversion::$(grep "AS apk" Dockerfile.test | awk -F':|-' '!/^#/ {print $2}')
Expand All @@ -22,11 +20,28 @@ jobs:
with:
go-version: "${{ steps.gover.outputs.goversion }}"
- run: go test -race ./...
integration:

lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
- name: Get latest Go version
id: gover
run: echo ::set-output name=goversion::$(grep "AS apk" Dockerfile.test | awk -F':|-' '!/^#/ {print $2}')
- name: Set up Go
uses: actions/setup-go@f6164bd8c8acb4a71fb2791a8b6c4024ff038dab # tag=v3.0.0
with:
fetch-depth: 0
go-version: "${{ steps.gover.outputs.goversion }}"
- name: golangci-lint
uses: golangci/golangci-lint-action@537aa1903e5d359d0b27dbc19ddd22c5087f3fbc # tag=v3.2.0
with:
version: v1.46.2
args: --timeout=5m

integration:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
- run: docker build -f Dockerfile.test .
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Hansel generates empty linux packages. These packages can be installed to track dependencies manually added to a container image.

TODO: make a gif?
<!-- TODO: make a gif? -->

## Usage

Expand Down

0 comments on commit 9f282a4

Please sign in to comment.