• Kent Yao's avatar
    [KYUUBI #2175] Improve CI with cancel & concurrency & paths filter · 3eb1fa9e
    Kent Yao authored
    ### _Why are the changes needed?_
    
    Better ASF GHA resource usage, see more https://cwiki.apache.org/confluence/display/BUILDS/GitHub+Actions+status
    
    - cancel-in-progress enabled. w/ this, a previous build can be canceled if new commit(s) have arrived
    - style check w/o install. currently, the style check takes 8~10min to finish because an install step before it. now, it shall return within a minute. note that, this might 'fail' itself when we introduce a new module and others depend on it, but it's ok to verify by the log whether a PR ok to be merged.
    - dependency check runs only when pom.xml updates. this flow now runs only pom changes as it is the only way that may cause dependency changes.
    
    ### _How was this patch tested?_
    - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible
    
    - [x] Add screenshots for manual tests if appropriate
    
    **Canceled**: https://github.com/apache/incubator-kyuubi/runs/5604809742?check_suite_focus=true
    
    <img width="548" alt="image" src="https://user-images.githubusercontent.com/8326978/159059722-480f4fd6-d87e-4b07-984e-eb5b08a84beb.png">
    
    - [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests
    
    ) locally before make a pull request
    
    Closes #2175 from yaooqinn/gha.
    
    Closes #2175
    
    33777bc5 [Kent Yao] Update .github/workflows/style.yml
    ec41ddd0 [Kent Yao] Update .github/workflows/style.yml
    79db981f [Kent Yao] fix
    4e1fb387 [Kent Yao] fix
    733df9cb [Kent Yao] Improve CI with cancel & concurrency
    494c3a84 [Kent Yao] Revert "Improve CI with cancel & concurrency"
    57641ac4 [Kent Yao] Improve CI with cancel & concurrency
    6dafe970 [Kent Yao] Improve CI with cancel & concurrency
    40160ab9 [Kent Yao] Improve CI with cancel & concurrency
    377285c2 [Kent Yao] Improve CI with cancel & concurrency
    dbe8999e [Kent Yao] Improve CI with cancel & concurrency
    78a97260 [Kent Yao] Improve CI with cancel & concurrency
    7e984ebd [Kent Yao] Improve CI with cancel & concurrency
    d2538210 [Kent Yao] Improve CI with cancel & concurrency
    51a7c48c [Kent Yao] Improve CI with cancel & concurrency
    c5e3177a [Kent Yao] Improve CI with cancel & concurrency
    Authored-by: default avatarKent Yao <yao@apache.org>
    Signed-off-by: default avatarKent Yao <yao@apache.org>
    3eb1fa9e