Skip to content

Commit cb7d650

Browse files
Try running CI on more Julia versions; also update all of the GitHub Actions; also some other CI tweaks (#45)
* Bump the all-github-actions group with 4 updates Bumps the all-github-actions group with 4 updates: [actions/checkout](https://github.com/actions/checkout), [julia-actions/setup-julia](https://github.com/julia-actions/setup-julia), [actions/cache](https://github.com/actions/cache) and [codecov/codecov-action](https://github.com/codecov/codecov-action). Updates `actions/checkout` from 2 to 4 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v2...v4) Updates `julia-actions/setup-julia` from 1 to 2 - [Release notes](https://github.com/julia-actions/setup-julia/releases) - [Changelog](https://github.com/julia-actions/setup-julia/blob/master/devdocs/making_a_new_release.md) - [Commits](julia-actions/setup-julia@v1...v2) Updates `actions/cache` from 1 to 4 - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](actions/cache@v1...v4) Updates `codecov/codecov-action` from 1 to 5 - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](codecov/codecov-action@v1...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major dependency-group: all-github-actions - dependency-name: julia-actions/setup-julia dependency-version: '2' dependency-type: direct:production update-type: version-update:semver-major dependency-group: all-github-actions - dependency-name: actions/cache dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major dependency-group: all-github-actions - dependency-name: codecov/codecov-action dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major dependency-group: all-github-actions ... Signed-off-by: dependabot[bot] <[email protected]> * Try running CI on more Julia versions * Use the default job names * Temporarily comment out the `'1'` line * Make sure to quote version numbers * Add an important comment about the `arch` input * We will just use the default job names (generated by GitHub) * Use the `CODECOV_TOKEN` * Include the `'1'` version --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 260edce commit cb7d650

File tree

1 file changed

+18
-10
lines changed

1 file changed

+18
-10
lines changed

.github/workflows/CI.yml

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,38 +7,45 @@ on:
77
pull_request:
88
jobs:
99
test:
10-
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
1110
runs-on: ${{ matrix.os }}
1211
strategy:
1312
fail-fast: false
1413
matrix:
1514
version:
16-
- '1'
17-
- '1.6'
15+
- '1.6' # Previous LTS
16+
- '1.7'
17+
- '1.8'
18+
- '1.9'
19+
- '1.10' # Current LTS
20+
- '1.11'
21+
- '1' # Automatically expands to the latest stable 1.x release of Julia
1822
- 'nightly'
1923
os:
2024
- ubuntu-latest
2125
arch:
26+
# Important note: the value of `arch` only affects the architecture of the Julia binary.
27+
# It does not affect the CPU architecture of the GitHub runner (the GitHub virtual machine that runs the job).
28+
# GitHub runners are always 64-bit virtual machines.
2229
- x64
2330
- x86
2431
include:
2532
# test macOS and Windows with latest Julia only
2633
- os: macOS-latest
2734
arch: x64
28-
version: 1
35+
version: '1'
2936
- os: windows-latest
3037
arch: x64
31-
version: 1
38+
version: '1'
3239
- os: windows-latest
3340
arch: x86
34-
version: 1
41+
version: '1'
3542
steps:
36-
- uses: actions/checkout@v2
37-
- uses: julia-actions/setup-julia@v1
43+
- uses: actions/checkout@v4
44+
- uses: julia-actions/setup-julia@v2
3845
with:
3946
version: ${{ matrix.version }}
4047
arch: ${{ matrix.arch }}
41-
- uses: actions/cache@v1
48+
- uses: actions/cache@v4
4249
env:
4350
cache-name: cache-artifacts
4451
with:
@@ -51,6 +58,7 @@ jobs:
5158
- uses: julia-actions/julia-buildpkg@v1
5259
- uses: julia-actions/julia-runtest@v1
5360
- uses: julia-actions/julia-processcoverage@v1
54-
- uses: codecov/codecov-action@v1
61+
- uses: codecov/codecov-action@v5
5562
with:
5663
file: lcov.info
64+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)