Skip to content

Commit

Permalink
Merge pull request #2055 from DARMA-tasking/2053-update-checkout-action
Browse files Browse the repository at this point in the history
2053: update GitHub actions versions
  • Loading branch information
PhilMiller authored Dec 28, 2022
2 parents 1229e66 + 5ac0d74 commit 8925637
Show file tree
Hide file tree
Showing 28 changed files with 10 additions and 130 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Build Documentation

on:
# Trigger the workflow on push or pull request,
# but only for the master branch
push:
branches:
- develop
Expand Down Expand Up @@ -31,6 +29,6 @@ jobs:
TOKEN: ${{ secrets.GH_PAT }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker-compose run ubuntu-docs
2 changes: 1 addition & 1 deletion .github/workflows/build-statistics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Generate build stats
uses: DARMA-tasking/build-stats@master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-commit-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
name: Check commit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-include-guards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
steps:

- name: Checkout source code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup Dependencies
uses: actions/setup-python@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-trailing-whitespace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
name: Find Trailing Whitespace
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: DARMA-tasking/find-trailing-whitespace@master
with:
exclude: "sketches;lib"
6 changes: 3 additions & 3 deletions .github/workflows/macosx-clang-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ jobs:
CMAKE_BUILD_PARALLEL_LEVEL: 4

steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: ~/.ccache
key: ${{ runner.os }}-macosx-clang-8-ccache-${{ secrets.GH_ACTIONS_CACHE_VERSION }}-${{ hashFiles('**/*') }}
restore-keys: |
${{ runner.os }}-macosx-clang-8-ccache-${{ secrets.GH_ACTIONS_CACHE_VERSION }}
- uses: actions/cache@v2
- uses: actions/cache@v3
id: mpich-cache
with:
path: ~/.mpich
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/pushdockerimage.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
name: Docker Image CI

on:
# Trigger the workflow on push or pull request,
# but only for the master branch
push:
branches:
- develop
- 1.*

jobs:

Expand All @@ -15,7 +12,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Docker Build & Push
uses: jerray/publish-docker-action@master
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-git-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
name: Run git check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
Expand Down
6 changes: 0 additions & 6 deletions ci/azure/azure-clang-10-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,6 @@ stages:
vmImage: 'ubuntu-22.04'
timeoutInMinutes: 180
steps:
- task: Bash@3
displayName: Job setup
inputs:
targetType: 'inline'
script: |
echo setup
- task: Bash@3
displayName: Build timestamp for caching
continueOnError: true
Expand Down
6 changes: 0 additions & 6 deletions ci/azure/azure-clang-11-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,6 @@ stages:
vmImage: 'ubuntu-22.04'
timeoutInMinutes: 180
steps:
- task: Bash@3
displayName: Job setup
inputs:
targetType: 'inline'
script: |
echo setup
- task: Bash@3
displayName: Build timestamp for caching
continueOnError: true
Expand Down
6 changes: 0 additions & 6 deletions ci/azure/azure-clang-12-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,6 @@ stages:
vmImage: 'ubuntu-22.04'
timeoutInMinutes: 180
steps:
- task: Bash@3
displayName: Job setup
inputs:
targetType: 'inline'
script: |
echo setup
- task: Bash@3
displayName: Build timestamp for caching
continueOnError: true
Expand Down
6 changes: 0 additions & 6 deletions ci/azure/azure-clang-13-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,6 @@ stages:
vmImage: 'ubuntu-22.04'
timeoutInMinutes: 180
steps:
- task: Bash@3
displayName: Job setup
inputs:
targetType: 'inline'
script: |
echo setup
- task: Bash@3
displayName: Build timestamp for caching
continueOnError: true
Expand Down
6 changes: 0 additions & 6 deletions ci/azure/azure-clang-14-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,6 @@ stages:
vmImage: 'ubuntu-22.04'
timeoutInMinutes: 180
steps:
- task: Bash@3
displayName: Job setup
inputs:
targetType: 'inline'
script: |
echo setup
- task: Bash@3
displayName: Build timestamp for caching
continueOnError: true
Expand Down
6 changes: 0 additions & 6 deletions ci/azure/azure-clang-5.0-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,6 @@ stages:
vmImage: 'ubuntu-22.04'
timeoutInMinutes: 180
steps:
- task: Bash@3
displayName: Job setup
inputs:
targetType: 'inline'
script: |
echo setup
- task: Bash@3
displayName: Build timestamp for caching
continueOnError: true
Expand Down
6 changes: 0 additions & 6 deletions ci/azure/azure-clang-9-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,6 @@ stages:
vmImage: 'ubuntu-22.04'
timeoutInMinutes: 180
steps:
- task: Bash@3
displayName: Job setup
inputs:
targetType: 'inline'
script: |
echo setup
- task: Bash@3
displayName: Build timestamp for caching
continueOnError: true
Expand Down
6 changes: 0 additions & 6 deletions ci/azure/azure-clang-alpine-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,6 @@ stages:
vmImage: 'ubuntu-22.04'
timeoutInMinutes: 180
steps:
- task: Bash@3
displayName: Job setup
inputs:
targetType: 'inline'
script: |
echo setup
- task: Bash@3
displayName: Build timestamp for caching
continueOnError: true
Expand Down
6 changes: 0 additions & 6 deletions ci/azure/azure-gcc-10-ubuntu-openmpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,6 @@ stages:
vmImage: 'ubuntu-22.04'
timeoutInMinutes: 180
steps:
- task: Bash@3
displayName: Job setup
inputs:
targetType: 'inline'
script: |
echo setup
- task: Bash@3
displayName: Build timestamp for caching
continueOnError: true
Expand Down
6 changes: 0 additions & 6 deletions ci/azure/azure-gcc-11-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,6 @@ stages:
vmImage: 'ubuntu-22.04'
timeoutInMinutes: 180
steps:
- task: Bash@3
displayName: Job setup
inputs:
targetType: 'inline'
script: |
echo setup
- task: Bash@3
displayName: Build timestamp for caching
continueOnError: true
Expand Down
6 changes: 0 additions & 6 deletions ci/azure/azure-gcc-12-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,6 @@ stages:
vmImage: 'ubuntu-22.04'
timeoutInMinutes: 180
steps:
- task: Bash@3
displayName: Job setup
inputs:
targetType: 'inline'
script: |
echo setup
- task: Bash@3
displayName: Build timestamp for caching
continueOnError: true
Expand Down
6 changes: 0 additions & 6 deletions ci/azure/azure-gcc-7-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,6 @@ stages:
vmImage: 'ubuntu-22.04'
timeoutInMinutes: 180
steps:
- task: Bash@3
displayName: Job setup
inputs:
targetType: 'inline'
script: |
echo setup
- task: Bash@3
displayName: Build timestamp for caching
continueOnError: true
Expand Down
6 changes: 0 additions & 6 deletions ci/azure/azure-gcc-8-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,6 @@ stages:
vmImage: 'ubuntu-22.04'
timeoutInMinutes: 180
steps:
- task: Bash@3
displayName: Job setup
inputs:
targetType: 'inline'
script: |
echo setup
- task: Bash@3
displayName: Build timestamp for caching
continueOnError: true
Expand Down
6 changes: 0 additions & 6 deletions ci/azure/azure-gcc-9-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,6 @@ stages:
vmImage: 'ubuntu-22.04'
timeoutInMinutes: 180
steps:
- task: Bash@3
displayName: Job setup
inputs:
targetType: 'inline'
script: |
echo setup
- task: Bash@3
displayName: Build timestamp for caching
continueOnError: true
Expand Down
6 changes: 0 additions & 6 deletions ci/azure/azure-intel-oneapi-icpc-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,6 @@ stages:
vmImage: 'ubuntu-22.04'
timeoutInMinutes: 180
steps:
- task: Bash@3
displayName: Job setup
inputs:
targetType: 'inline'
script: |
echo setup
- task: Bash@3
displayName: Build timestamp for caching
continueOnError: true
Expand Down
6 changes: 0 additions & 6 deletions ci/azure/azure-intel-oneapi-icpx-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,6 @@ stages:
vmImage: 'ubuntu-22.04'
timeoutInMinutes: 180
steps:
- task: Bash@3
displayName: Job setup
inputs:
targetType: 'inline'
script: |
echo setup
- task: Bash@3
displayName: Build timestamp for caching
continueOnError: true
Expand Down
6 changes: 0 additions & 6 deletions ci/azure/azure-nvidia-10-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,6 @@ stages:
vmImage: 'ubuntu-22.04'
timeoutInMinutes: 180
steps:
- task: Bash@3
displayName: Job setup
inputs:
targetType: 'inline'
script: |
echo setup
- task: Bash@3
displayName: Build timestamp for caching
continueOnError: true
Expand Down
6 changes: 0 additions & 6 deletions ci/azure/azure-nvidia-11-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,6 @@ stages:
vmImage: 'ubuntu-22.04'
timeoutInMinutes: 180
steps:
- task: Bash@3
displayName: Job setup
inputs:
targetType: 'inline'
script: |
echo setup
- task: Bash@3
displayName: Build timestamp for caching
continueOnError: true
Expand Down
6 changes: 0 additions & 6 deletions scripts/workflow-azure-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,6 @@ stages:
[% workflow_runs_on %]
timeoutInMinutes: 180
steps:
- task: Bash@3
displayName: Job setup
inputs:
targetType: 'inline'
script: |
[% job_setup %]
- task: Bash@3
displayName: Build timestamp for caching
continueOnError: true
Expand Down
1 change: 0 additions & 1 deletion scripts/workflows-azure.ini
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ build_root = $(ARCH)-[% linux %]-$(UBUNTU)-$(COMPILER)-cache
linux_env = " UBUNTU: [% distro %]"
vt_diagnostics = 1
pr_pattern = "pr:\\n drafts: false\\n autoCancel: true\\n branches:\\n include:\\n - '*'\\n"
job_setup = "echo setup"
vt_no_color = 1
vt_build_shared_libs = 0
vt_inclusion = TPL
Expand Down

0 comments on commit 8925637

Please sign in to comment.