Use concurrency in GitHub Actions + remove cancelling (#77)
* Use concurrency + remove cancelling
* Combined ubuntu-focal-external with ubuntu-focal-external-rocm
* Update workflow names and README
* Update ubuntu-focal name
* More tweaks to the name
* Change names in formatting workflow
[ROCm/rocprofiler-systems commit: 9b800c028b]
This commit is contained in:
committed by
GitHub
parent
e76c27be15
commit
e5df51c9f6
@@ -1,5 +1,3 @@
|
||||
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
|
||||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
|
||||
|
||||
name: formatting
|
||||
|
||||
@@ -9,8 +7,12 @@ on:
|
||||
pull_request:
|
||||
branches: [ main, develop ]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
python-formatting:
|
||||
python:
|
||||
runs-on: ubuntu-20.04
|
||||
strategy:
|
||||
matrix:
|
||||
@@ -31,7 +33,7 @@ jobs:
|
||||
run: |
|
||||
black --diff --check .
|
||||
|
||||
cmake-format:
|
||||
cmake:
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
steps:
|
||||
@@ -54,7 +56,7 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
|
||||
clang-format:
|
||||
source:
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user