From 4355bffe657c2049159e98797fcae4a935fc84f5 Mon Sep 17 00:00:00 2001 From: Muhan Li Date: Thu, 2 May 2024 12:58:19 +0800 Subject: [PATCH] update actions --- .github/workflows/cd.yml | 14 +++++++------- .github/workflows/ci.yml | 16 ++++++++-------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index fc4960a..d8f61f0 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -3,7 +3,7 @@ name: Continuous Delivery on: workflow_dispatch: schedule: - - cron: "0 0 1/10 * *" + - cron: "0 0 1/16 * *" push: branches: - "main" @@ -19,9 +19,9 @@ jobs: fetch-depth: 2 - name: Setup Python environment - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: 3.11 + python-version: "3.12" - name: Install Python dependencies run: | @@ -35,8 +35,8 @@ jobs: - name: Setup Haskell and Cabal uses: haskell-actions/setup@v2 with: - ghc-version: 9.2.8 - cabal-version: 3.10.1.0 + ghc-version: "9.6" + cabal-version: "3.10" - name: Build parser run: cabal build @@ -50,5 +50,5 @@ jobs: file_pattern: README.md docs/* data/* commit_message: update calendar data automatically commit_user_name: Muhan Li - commit_user_email: limuhan@msn.com - commit_author: Muhan Li + commit_user_email: 77625954+muhav@users.noreply.github.com + commit_author: Muhan Li <77625954+muhav@users.noreply.github.com> diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3f07d48..5cf0bd1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v4 - name: Setup Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} @@ -39,11 +39,11 @@ jobs: strategy: matrix: - ghc: ["9.2.8", "9.6", "latest"] - cabal: ["3.10.1.0", "3.10", "latest"] - exclude: - - ghc: latest - cabal: 3.10.1.0 + ghc: ["9.6", "9.8", "latest"] + cabal: ["3.10", "latest"] + include: + - ghc: "9.2.8" + cabal: "3.10.1.0" steps: - uses: actions/checkout@v4 @@ -105,9 +105,9 @@ jobs: - uses: actions/checkout@v4 - name: Set up Python Environment - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: 3.12 + python-version: "3.12" - name: Install Python dependencies run: |