Skip to content
Permalink
Browse files
ci: add Licese header checker (#25)
  • Loading branch information
dmsolr committed Jun 2, 2021
1 parent e221d51 commit 21e85cb86aceb892730568fc672e60eba7c570f0
Showing 3 changed files with 26 additions and 0 deletions.
@@ -35,6 +35,10 @@ jobs:
- uses: actions/setup-java@v1
with:
java-version: 8
- name: Check License Header
uses: apache/skywalking-eyes@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: 'Install & Test'
run: mvn clean install

@@ -27,5 +27,6 @@ header:
- 'NOTICE'
- '.mvn'
- '**/target/**'
- '**/*.iml'

comment: on-failure
@@ -1,3 +1,23 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
*/

package org.apache.apisix.plugin.runner;

import io.netty.channel.unix.DomainSocketAddress;
@@ -52,3 +72,4 @@ void testUDSConnectFail() {
assertThat(exception.getMessage()).isEqualTo("java.io.FileNotFoundException");
}
}

0 comments on commit 21e85cb

Please sign in to comment.