From 93c81ac2f659536c4b54ba31b001fff6142ef074 Mon Sep 17 00:00:00 2001 From: Gregor Grigorjan Date: Wed, 15 May 2024 06:16:20 +0300 Subject: [PATCH] feat(ci): add CI --- .github/dependabot.yml | 8 ++++++++ .github/workflows/ci.yaml | 15 +++++++++++++++ README.md | 22 ++++++++++++++++++---- 3 files changed, 41 insertions(+), 4 deletions(-) create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/ci.yaml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..4604723b --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,8 @@ +version: 2 + +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "monthly" + diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 00000000..215471ef --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,15 @@ +name: ci + +on: + push: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4.1.5 + - uses: DeterminateSystems/nix-installer-action@v11 + - uses: DeterminateSystems/magic-nix-cache-action@main + - name: Build package + run: nix build -L + diff --git a/README.md b/README.md index e0161d57..6281c475 100644 --- a/README.md +++ b/README.md @@ -9,9 +9,7 @@ Display file icons in Magit! # Installation -This package is not yet in any package archives. - -To install, fetch the source and +This package is not yet in any package archives. To install, you need to fetch the source. For example, with [straight.el](https://github.com/radian-software/straight.el): @@ -27,5 +25,21 @@ For example, with [straight.el](https://github.com/radian-software/straight.el): (magit-file-icons-mode 1)) ``` -# Usage +## Nix + +``` +└───packages + ├───aarch64-darwin + │ ├───default: package 'emacs-magit-file-icons-v0.0.1' + │ └───magit-file-icons: package 'emacs-magit-file-icons-v0.0.1' + ├───aarch64-linux + │ ├───default: package 'emacs-magit-file-icons-v0.0.1' + │ └───magit-file-icons: package 'emacs-magit-file-icons-v0.0.1' + ├───x86_64-darwin + │ ├───default: package 'emacs-magit-file-icons-v0.0.1' + │ └───magit-file-icons: package 'emacs-magit-file-icons-v0.0.1' + └───x86_64-linux + ├───default: package 'emacs-magit-file-icons-v0.0.1' + └───magit-file-icons: package 'emacs-magit-file-icons-v0.0.1' +```