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:
Jonathan R. Madsen
2022-06-29 11:06:52 -05:00
committed by GitHub
parent e76c27be15
commit e5df51c9f6
10 changed files with 165 additions and 169 deletions
@@ -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: