Skip to content

Commit 95a9415

Browse files
committed
Clean up CI a bit
1 parent 0467de6 commit 95a9415

3 files changed

Lines changed: 26 additions & 12 deletions

File tree

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@ updates:
55
directory: "/" # Location of package manifests
66
schedule:
77
interval: "monthly"
8+
- package-ecosystem: "julia"
9+
directory: "/"
10+
schedule:
11+
interval: "weekly"

.github/workflows/ci.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,7 @@ jobs:
6767
# GitHub will automatically expand to the correct value (`x86_64` or `aarch64`)
6868
# based on the architecture of the underlying GitHub Runner (virtual machine).
6969
arch: ${{ github.ref == '32' && 'x86' || runner.arch }}
70-
- uses: actions/cache@v5
71-
env:
72-
cache-name: cache-artifacts
73-
with:
74-
path: ~/.julia/artifacts
75-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
76-
restore-keys: |
77-
${{ runner.os }}-test-${{ env.cache-name }}-
78-
${{ runner.os }}-test-${{ matrix.os }}
79-
${{ runner.os }}-
80-
- uses: julia-actions/julia-buildpkg@v1
70+
- uses: julia-actions/cache@v3
8171
- name: Decide what the value of JULIA_NUM_THREADS should be
8272
id: decide-numthreads-str
8373
run: |
@@ -115,6 +105,7 @@ jobs:
115105
- uses: julia-actions/setup-julia@latest
116106
with:
117107
version: '1'
108+
- uses: julia-actions/cache@v3
118109
- name: Install dependencies
119110
run: julia --project=docs/ -e 'using Pkg; Pkg.instantiate()'
120111
- name: Build and deploy
@@ -130,8 +121,9 @@ jobs:
130121
persist-credentials: false
131122
- uses: julia-actions/setup-julia@latest
132123
with:
133-
version: '1.12'
124+
version: '1'
134125
# version: 'nightly'
126+
- uses: julia-actions/cache@v3
135127
- run: julia --color=yes --project=ci/jet -e 'import Pkg; Pkg.instantiate()'
136128
- name: Run the JET tests
137129
run: julia --color=yes --project=ci/jet ci/jet/check.jl

.github/workflows/tagbot.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: TagBot
2+
on:
3+
issue_comment:
4+
types:
5+
- created
6+
workflow_dispatch:
7+
inputs:
8+
lookback:
9+
description: "[DEPRECATED] No longer has any effect"
10+
default: "3"
11+
jobs:
12+
TagBot:
13+
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: JuliaRegistries/TagBot@v1
17+
with:
18+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)