From 1d774bbaa8c439d63f70a07340e894470555925e Mon Sep 17 00:00:00 2001 From: Chen Mulong Date: Wed, 23 Jul 2025 10:09:28 +0800 Subject: [PATCH] Add actions for macOS (And missing version in lock file) --- .github/workflows/rust.yml | 15 ++++++++++++--- Cargo.lock | 2 +- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index d54fa2f..2151456 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -11,11 +11,20 @@ env: jobs: build: - - runs-on: ubuntu-latest + name: Build and test for ${{ matrix.os}} + runs-on: ${{ matrix.os }} + permissions: + contents: read + strategy: + matrix: + include: + ## Linux builds + - os: ubuntu-latest + ## macOS builds + - os: macos-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build run: cargo build --verbose - name: Run tests diff --git a/Cargo.lock b/Cargo.lock index f361d8a..09f0ec3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -217,7 +217,7 @@ dependencies = [ [[package]] name = "glrnvim" -version = "1.5.0" +version = "1.6.0" dependencies = [ "dirs", "env_logger",