Remove the failing CI on the main branch (#805)

See
https://github.com/nushell/nu_scripts/pull/771#issuecomment-2020331739
and following

As we don't have a path forward to make sure all files are fixed and
will be maintained. (and the file detection itself is reliable)
Disable the `main` branch (and nightly run) for now.

This will keep the CI for PRs so at least added scripts pass the current
nu version
This commit is contained in:
Stefan Holderbach 2024-03-30 22:37:19 +01:00 committed by GitHub
parent 268201e4ac
commit b9c873bc67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 34 deletions

View File

@ -1,31 +0,0 @@
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/setup-nu@v3.9
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

View File

@ -1,8 +1,5 @@
# Nushell Scripts
![CI](https://github.com/nushell/nu_scripts/actions/workflows/daily.yml/badge.svg)
This is a place to share Nushell scripts with each other. If you'd like to share your scripts, fork this repository, and [create a PR](https://github.com/nushell/nu_scripts/compare) that adds it to the repo.
## Sections