From 8f4408433387fdc315c7840fa47df74738668fda Mon Sep 17 00:00:00 2001 From: Chengyu HAN Date: Sat, 14 Dec 2024 19:45:23 +0800 Subject: [PATCH 1/3] ci: add downgrade test --- .github/workflows/downgrade.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/downgrade.yml diff --git a/.github/workflows/downgrade.yml b/.github/workflows/downgrade.yml new file mode 100644 index 0000000..2fe127c --- /dev/null +++ b/.github/workflows/downgrade.yml @@ -0,0 +1,27 @@ +name: Downgrade +on: + pull_request: + branches: + - master + paths-ignore: + - 'docs/**' + push: + branches: + - master + paths-ignore: + - 'docs/**' + +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + version: ['1'] + steps: + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v2 + with: + version: ${{ matrix.version }} + - uses: julia-actions/julia-downgrade-compat@v1 + - uses: julia-actions/julia-buildpkg@v1 + - uses: julia-actions/julia-runtest@v1 From 209fe27ec029581eb9333a2c0bc73cee593d8008 Mon Sep 17 00:00:00 2001 From: Chengyu HAN Date: Sat, 14 Dec 2024 19:54:38 +0800 Subject: [PATCH 2/3] =?UTF-8?q?Project.toml:=20remove=20=E2=89=A5=20in=20c?= =?UTF-8?q?ompat?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit julia-actions/julia-downgrade-compat doesn't support this style --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 9520f14..57f34ad 100644 --- a/Project.toml +++ b/Project.toml @@ -4,7 +4,7 @@ authors = ["Elliot Saba "] version = "0.7.0" [compat] -julia = "≥ 1.0.0" +julia = "1.0" [extras] Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" From e31b92f2e3b3a8568e1626166f1389032876f9d8 Mon Sep 17 00:00:00 2001 From: Chengyu HAN Date: Sat, 14 Dec 2024 19:56:44 +0800 Subject: [PATCH 3/3] ci: test compat with v1.0 --- .github/workflows/downgrade.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/downgrade.yml b/.github/workflows/downgrade.yml index 2fe127c..18f20b2 100644 --- a/.github/workflows/downgrade.yml +++ b/.github/workflows/downgrade.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - version: ['1'] + version: ['1.0'] steps: - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v2