Skip to content

Commit 6a8d9c5

Browse files
committed
fix: update CI
1 parent b644f79 commit 6a8d9c5

File tree

5 files changed

+34
-20
lines changed

5 files changed

+34
-20
lines changed

.github/workflows/feature.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ concurrency:
1313
jobs:
1414
use-library-js-feature:
1515
permissions:
16-
packages: read
1716
contents: read
1817
actions: write
1918
checks: write
20-
uses: MatrixAI/.github/.github/workflows/library-js-feature.yml@feature-actions
19+
uses: MatrixAI/.github/.github/workflows/library-js-feature.yml@master

.github/workflows/staging.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,11 @@ concurrency:
1313
jobs:
1414
use-library-js-staging:
1515
permissions:
16-
packages: read
1716
contents: write
1817
actions: write
1918
checks: write
2019
pull-requests: write
21-
uses: MatrixAI/.github/.github/workflows/library-js-staging.yml@feature-actions
20+
uses: MatrixAI/.github/.github/workflows/library-js-staging.yml@master
2221
secrets:
2322
GH_TOKEN: ${{ secrets.GH_TOKEN }}
2423
GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }}

.github/workflows/tag.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ on:
99
jobs:
1010
use-library-js-tag:
1111
permissions:
12-
packages: read
1312
contents: read
1413
actions: write
15-
uses: MatrixAI/.github/.github/workflows/library-js-tag.yml@feature-actions
14+
uses: MatrixAI/.github/.github/workflows/library-js-tag.yml@master

flake.lock

+24-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

+7-8
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
{
22
inputs = {
3-
nixpkgs.url = "github:nixos/nixpkgs";
3+
nixpkgs-matrix = {
4+
type = "indirect";
5+
id = "nixpkgs-matrix";
6+
};
47
flake-utils.url = "github:numtide/flake-utils";
58
};
69

7-
outputs = { nixpkgs, flake-utils, ... }:
10+
outputs = { nixpkgs-matrix, flake-utils, ... }:
811
flake-utils.lib.eachDefaultSystem (system:
912
let
10-
pkgs = nixpkgs.legacyPackages.${system};
13+
pkgs = nixpkgs-matrix.legacyPackages.${system};
1114
shell = { ci ? false }:
1215
with pkgs;
1316
pkgs.mkShell {
14-
nativeBuildInputs = [
15-
nodejs_20
16-
shellcheck
17-
gitAndTools.gh
18-
];
17+
nativeBuildInputs = [ nodejs_20 shellcheck gitAndTools.gh ];
1918
PKG_IGNORE_TAG = 1;
2019
shellHook = ''
2120
echo "Entering $(npm pkg get name)"

0 commit comments

Comments
 (0)