From 9355d1015d5df7a54ac59b97582250863fcf49e8 Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Mon, 5 Jun 2023 11:31:10 +0200 Subject: [PATCH 1/2] Bump compat bounds. --- Project.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 0c1b39f2..fb5f2f12 100644 --- a/Project.toml +++ b/Project.toml @@ -13,6 +13,6 @@ LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" [compat] CUDA = "3.5, 4" ForwardDiff = "0.10" -KernelAbstractions = "0.7, 0.8" -LLVM = "3, 4" +KernelAbstractions = "0.7, 0.8, 0.9" +LLVM = "3, 4, 5" julia = "1.6" From e1e2f245ac0d4abf2fbb6416109849dc86fdf7b3 Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Mon, 5 Jun 2023 11:33:43 +0200 Subject: [PATCH 2/2] Update Github actions. --- .github/workflows/CompatHelper.yml | 39 ++++++++++++++++++++++++++---- .github/workflows/TagBot.yml | 17 ++++++++++++- 2 files changed, 50 insertions(+), 6 deletions(-) diff --git a/.github/workflows/CompatHelper.yml b/.github/workflows/CompatHelper.yml index dadc755a..8765dd6e 100644 --- a/.github/workflows/CompatHelper.yml +++ b/.github/workflows/CompatHelper.yml @@ -2,13 +2,42 @@ name: CompatHelper on: schedule: - cron: 0 0 * * * + workflow_dispatch: +permissions: + contents: write + pull-requests: write jobs: - build: + CompatHelper: runs-on: ubuntu-latest steps: - - name: Pkg.add("CompatHelper") - run: julia -e 'using Pkg; Pkg.add("CompatHelper")' - - name: CompatHelper.main() - run: julia -e 'using CompatHelper; CompatHelper.main()' + - name: Check if Julia is already available in the PATH + id: julia_in_path + run: which julia + continue-on-error: true + - name: Install Julia, but only if it is not already available in the PATH + uses: julia-actions/setup-julia@v1 + with: + version: '1' + arch: ${{ runner.arch }} + if: steps.julia_in_path.outcome != 'success' + - name: "Add the General registry via Git" + run: | + import Pkg + ENV["JULIA_PKG_SERVER"] = "" + Pkg.Registry.add("General") + shell: julia --color=yes {0} + - name: "Install CompatHelper" + run: | + import Pkg + name = "CompatHelper" + uuid = "aa819f21-2bde-4658-8897-bab36330d9b7" + version = "3" + Pkg.add(; name, uuid, version) + shell: julia --color=yes {0} + - name: "Run CompatHelper" + run: | + import CompatHelper + CompatHelper.main() + shell: julia --color=yes {0} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml index 9c16c987..3486a1b1 100644 --- a/.github/workflows/TagBot.yml +++ b/.github/workflows/TagBot.yml @@ -4,6 +4,22 @@ on: types: - created workflow_dispatch: + inputs: + lookback: + default: 3 +permissions: + actions: read + checks: read + contents: write + deployments: read + issues: read + discussions: read + packages: read + pages: read + pull-requests: read + repository-projects: read + security-events: read + statuses: read jobs: TagBot: if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' @@ -12,4 +28,3 @@ jobs: - uses: JuliaRegistries/TagBot@v1 with: token: ${{ secrets.GITHUB_TOKEN }} - # ssh: ${{ secrets.DOCUMENTER_KEY }}