.github/workflows/daily.yml #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
schedule: | |
- cron: "30 0 * * *" # every day at 00:30 AM UTC | |
env: | |
NUSHELL_CARGO_PROFILE: ci | |
NU_LOG_LEVEL: DEBUG | |
jobs: | |
nu-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Fetch main branch" | |
run: | | |
git fetch origin main --depth 1 | |
- uses: hustcer/[email protected] | |
with: | |
version: "*" | |
check-latest: true | |
features: full # dataframe and extra included | |
- name: toolkit check pr --full | |
shell: nu {0} | |
# nix STUB_IDE_CHECK when nushell/nushell#12208 fixed | |
run: | | |
use ${{ github.workspace }}/toolkit.nu * | |
STUB_IDE_CHECK=true check pr --full --and-exit |