Skip to content

Commit d019342

Browse files
committed
update and streamline github actions
1 parent 89afa47 commit d019342

File tree

4 files changed

+19
-7
lines changed

4 files changed

+19
-7
lines changed

.github/workflows/CompatHelper.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
name: CompatHelper
2+
23
on:
34
schedule:
45
- cron: 0 0 * * *
56
workflow_dispatch:
7+
68
jobs:
79
CompatHelper:
810
runs-on: ubuntu-latest

.github/workflows/FormatCheck.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,17 @@ jobs:
1414
runs-on: ${{ matrix.os }}
1515
strategy:
1616
matrix:
17-
julia-version: ['1']
18-
julia-arch: [x86]
19-
os: [ubuntu-latest]
17+
version:
18+
- '1' # automatically expands to the latest stable 1.x release of Julia
19+
os:
20+
- ubuntu-latest
21+
arch:
22+
- x64
2023
steps:
2124
- uses: julia-actions/setup-julia@latest
2225
with:
23-
version: ${{ matrix.julia-version }}
26+
version: ${{ matrix.version }}
27+
arch: ${{ matrix.arch }}
2428

2529
- uses: actions/checkout@v4
2630
- name: Install JuliaFormatter and format

.github/workflows/TagBot.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
name: TagBot
2+
23
on:
34
issue_comment:
45
types:
56
- created
7+
workflow_dispatch:
8+
69
jobs:
710
TagBot:
811
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
name: CI
2-
32
on:
4-
workflow_dispatch:
53
push:
64
branches:
7-
- 'main'
85
- 'master'
6+
- 'main'
97
- 'release-'
108
tags: '*'
119
pull_request:
10+
workflow_dispatch:
1211

1312
concurrency:
1413
group: ${{ github.workflow }}-${{ github.ref }}
@@ -39,6 +38,8 @@ jobs:
3938
- uses: julia-actions/cache@v1
4039
- uses: julia-actions/julia-buildpkg@latest
4140
- uses: julia-actions/julia-runtest@latest
41+
# env:
42+
# JULIA_NUM_THREADS: 4
4243
- uses: julia-actions/julia-processcoverage@v1
4344
- uses: codecov/codecov-action@v3
4445
with:
@@ -67,3 +68,5 @@ jobs:
6768
- uses: julia-actions/cache@v1
6869
- uses: julia-actions/julia-buildpkg@latest
6970
- uses: julia-actions/julia-runtest@latest
71+
# env:
72+
# JULIA_NUM_THREADS: 4

0 commit comments

Comments
 (0)