Skip to content

Commit

Permalink
Merge branch 'master' into cmd-expansions
Browse files Browse the repository at this point in the history
  • Loading branch information
QiBaobin committed Apr 5, 2023
2 parents 22d17f9 + 531b745 commit 7e7c0dc
Show file tree
Hide file tree
Showing 259 changed files with 17,254 additions and 4,753 deletions.
2 changes: 1 addition & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[alias]
xtask = "run --package xtask --"
integration-test = "test --features integration --workspace --test integration"
integration-test = "test --features integration --profile integration --workspace --test integration"
7 changes: 4 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ body:
id: helix-log
attributes:
label: Helix log
description: See `hx -h` for log file path
description: See `hx -h` for log file path. If you can reproduce the issue run `RUST_BACKTRACE=1 hx -vv` to generate a more detailed log file.
value: |
<details><summary>~/.cache/helix/helix.log</summary>
Expand Down Expand Up @@ -61,7 +61,8 @@ body:
label: Helix Version
description: >
Helix version (`hx -V` if using a release, `git describe` if building
from master)
placeholder: "helix 0.6.0 (c0dbd6dc)"
from master).
**Make sure that you are using the [latest helix release](https://github.com/helix-editor/helix/releases) or a newer master build**
placeholder: "helix 22.12 (5eaa6d97)"
validations:
required: true
17 changes: 5 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,17 @@ on:
push:
branches:
- master
merge_group:
schedule:
- cron: '00 01 * * *'

jobs:
check:
name: Check
name: Check (msrv)
runs-on: ubuntu-latest
strategy:
matrix:
rust: [stable, msrv]
steps:
- name: Checkout sources
uses: actions/checkout@v3

- name: Use MSRV rust toolchain
if: matrix.rust == 'msrv'
run: cp .github/workflows/msrv-rust-toolchain.toml rust-toolchain.toml

- name: Install stable toolchain
uses: helix-editor/rust-toolchain@v1
with:
Expand All @@ -44,7 +37,7 @@ jobs:
uses: actions/checkout@v3

- name: Install stable toolchain
uses: dtolnay/rust-toolchain@1.61
uses: dtolnay/rust-toolchain@1.65

- uses: Swatinem/rust-cache@v2

Expand Down Expand Up @@ -73,7 +66,7 @@ jobs:
uses: actions/checkout@v3

- name: Install stable toolchain
uses: dtolnay/rust-toolchain@1.61
uses: dtolnay/rust-toolchain@1.65
with:
components: rustfmt, clippy

Expand All @@ -98,7 +91,7 @@ jobs:
uses: actions/checkout@v3

- name: Install stable toolchain
uses: dtolnay/rust-toolchain@1.61
uses: dtolnay/rust-toolchain@1.65

- uses: Swatinem/rust-cache@v2

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cachix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@v3

- name: Install nix
uses: cachix/install-nix-action@v18
uses: cachix/install-nix-action@v20

- name: Authenticate with Cachix
uses: cachix/cachix-action@v12
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/msrv-rust-toolchain.toml

This file was deleted.

13 changes: 12 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ jobs:
rust: stable
target: x86_64-pc-windows-msvc
cross: false
# 23.03: build issues
- build: aarch64-macos
os: macos-latest
rust: stable
Expand Down Expand Up @@ -113,6 +114,12 @@ jobs:
mkdir -p runtime/grammars/sources
tar xJf grammars/grammars.tar.xz -C runtime/grammars/sources
# The rust-toolchain action ignores rust-toolchain.toml files.
# Removing this before building with cargo ensures that the rust-toolchain
# is considered the same between installation and usage.
- name: Remove the rust-toolchain.toml file
run: rm rust-toolchain.toml

- name: Install ${{ matrix.rust }} toolchain
uses: dtolnay/rust-toolchain@master
with:
Expand Down Expand Up @@ -155,6 +162,10 @@ jobs:
shell: bash
if: matrix.build == 'aarch64-linux' || matrix.build == 'x86_64-linux'
run: |
# Required as of 22.x https://github.com/AppImage/AppImageKit/wiki/FUSE
sudo add-apt-repository universe
sudo apt install libfuse2
mkdir dist
name=dev
Expand Down Expand Up @@ -244,7 +255,7 @@ jobs:
exe=".exe"
fi
pkgname=helix-$GITHUB_REF_NAME-$platform
mkdir $pkgname
mkdir -p $pkgname
cp $source/LICENSE $source/README.md $pkgname
mkdir $pkgname/contrib
cp -r $source/contrib/completion $pkgname/contrib
Expand Down
273 changes: 273 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

Loading

0 comments on commit 7e7c0dc

Please sign in to comment.