From 013ea51f31e22509b7a88fec5d70a051a360cbd3 Mon Sep 17 00:00:00 2001 From: Kenichi Kamiya Date: Sun, 18 Feb 2024 15:48:51 +0900 Subject: [PATCH] Update more [ci skip] --- .github/workflows/bump-flake-lock-and-selfup.yml | 1 + .github/workflows/lint.yml | 6 ++---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/bump-flake-lock-and-selfup.yml b/.github/workflows/bump-flake-lock-and-selfup.yml index 799e246..25ed7f3 100644 --- a/.github/workflows/bump-flake-lock-and-selfup.yml +++ b/.github/workflows/bump-flake-lock-and-selfup.yml @@ -17,6 +17,7 @@ jobs: dry-run: ${{ github.event_name == 'pull_request' }} optional-run: | nix develop --command bash -c 'node --version | tr -d v' > .node-version + git add .node-version # https://stackoverflow.com/q/34807971 git update-index -q --really-refresh git diff-index --quiet HEAD || git commit -m 'Update .node-version' .node-version diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ef4f02d..9308458 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -17,16 +17,14 @@ jobs: - uses: actions/checkout@v4 - uses: dprint/check@v2.2 with: - # Keep same version as used in *.nix - dprint-version: '0.40.2' + dprint-version: '0.40.2' # selfup { "regex": "\\d[^']+", "script": "dprint --version | cut -d ' ' -f 2" } typos: timeout-minutes: 15 runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - # Keep same version as used in *.nix - - uses: crate-ci/typos@v1.14.10 + - uses: crate-ci/typos@v1.14.10 # selfup { "regex": "\\d\\.\\d+\\.\\d+", "script": "typos --version | cut -d ' ' -f 2" } with: files: | .