File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
pkg/distribution/internal/mutate Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 2323 cache : true
2424
2525 - name : Install golangci-lint
26- run : |
27- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.2.0
28- echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
26+ uses : golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20
27+ with :
28+ version : v2.7.2
29+ install-only : true
2930
3031 - name : Run linting for ${{ matrix.goos }}
3132 env :
Original file line number Diff line number Diff line change @@ -30,9 +30,6 @@ func TestAppendLayer(t *testing.T) {
3030 mdl2 := mutate .AppendLayers (mdl1 ,
3131 static .NewLayer ([]byte ("some layer content" ), "application/vnd.example.some.media.type" ),
3232 )
33- if err != nil {
34- t .Fatalf ("Failed to create layer: %v" , err )
35- }
3633 if mdl2 == nil {
3734 t .Fatal ("Expected non-nil model" )
3835 }
You can’t perform that action at this time.
0 commit comments