mirror of
https://github.com/muhac/chinese-holidays-calendar.git
synced 2024-11-21 01:01:50 +08:00
update actions
This commit is contained in:
parent
679be9a83c
commit
4355bffe65
14
.github/workflows/cd.yml
vendored
14
.github/workflows/cd.yml
vendored
@ -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 <limuhan@msn.com>
|
||||
commit_user_email: 77625954+muhav@users.noreply.github.com
|
||||
commit_author: Muhan Li <77625954+muhav@users.noreply.github.com>
|
||||
|
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
@ -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: |
|
||||
|
Loading…
Reference in New Issue
Block a user