diff --git a/.github/workflows/neovim.yml b/.github/workflows/neovim.yml index 0f65875f..bb98b6f5 100644 --- a/.github/workflows/neovim.yml +++ b/.github/workflows/neovim.yml @@ -20,13 +20,17 @@ jobs: "v0.8.2", "v0.8.3", "v0.9.0", + "v0.9.1", + "v0.9.2", + "v0.9.4", + "v0.9.5", "stable", "nightly", ] name: Ubuntu nvim-${{ matrix.neovim_tag }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Neovim uses: MunifTanjim/setup-neovim-action@v1 with: @@ -40,7 +44,7 @@ jobs: name: Macos nvim-nightly steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Neovim run: | wget -q https://github.com/neovim/neovim/releases/download/nightly/nvim-macos.tar.gz @@ -55,7 +59,7 @@ jobs: name: Windows nvim-nightly runs-on: windows-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Neovim run: | C:\msys64\usr\bin\wget.exe -q https://github.com/neovim/neovim/releases/download/nightly/nvim-win64.zip diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 4bcb1f26..da1fe1c6 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -6,8 +6,8 @@ jobs: format: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: cachix/install-nix-action@v18 + - uses: actions/checkout@v4 + - uses: cachix/install-nix-action@v22 with: nix_path: nixpkgs=channel:nixos-unstable - run: nix-shell -p stylua --run "stylua -f stylua.toml --check ." diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6c2210c1..a64fd6bb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,12 +20,16 @@ jobs: "v0.8.2", "v0.8.3", "v0.9.0", + "v0.9.1", + "v0.9.2", + "v0.9.4", + "v0.9.5", "stable", "nightly", ] name: Tests nvim-${{ matrix.neovim_tag }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Neovim uses: MunifTanjim/setup-neovim-action@v1 diff --git a/.github/workflows/update-color-primitives.yml b/.github/workflows/update-color-primitives.yml index 78ae24ec..f63831d5 100644 --- a/.github/workflows/update-color-primitives.yml +++ b/.github/workflows/update-color-primitives.yml @@ -1,16 +1,16 @@ name: Get/Update Primer Color Primitives env: - _DEST_DIR: '${{ github.workspace }}/lua/github-theme/palette/primitives' - _JSON_DIR: '${{ github.workspace }}/node_modules/@primer/primitives/dist/json/colors' - _LICENSE_GLOB: '${{ github.workspace }}/node_modules/@primer/primitives/[Ll][Ii][Cc][Ee][Nn][Ss][Ee]*' - _PRIMITIVES_PKGJSON: '${{ github.workspace }}/node_modules/@primer/primitives/package.json' + _DEST_DIR: "${{ github.workspace }}/lua/github-theme/palette/primitives" + _JSON_DIR: "${{ github.workspace }}/node_modules/@primer/primitives/dist/json/colors" + _LICENSE_GLOB: "${{ github.workspace }}/node_modules/@primer/primitives/[Ll][Ii][Cc][Ee][Nn][Ss][Ee]*" + _PRIMITIVES_PKGJSON: "${{ github.workspace }}/node_modules/@primer/primitives/package.json" on: workflow_dispatch: schedule: # 3x per week (every other day) at 12:40pm Pacific Time - - cron: '40 19 * * 1,3,5' + - cron: "40 19 * * 1,3,5" jobs: get-colors: @@ -24,11 +24,11 @@ jobs: statuses: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: 'lts/*' + node-version: "lts/*" check-latest: true - run: npm i @primer/primitives@latest @@ -56,13 +56,13 @@ jobs: EOF done - - uses: JohnnyMorganz/stylua-action@v3 + - uses: JohnnyMorganz/stylua-action@v4 with: token: ${{ secrets.GITHUB_TOKEN }} version: latest args: -f stylua.toml --verify -- ${{ env._DEST_DIR }} - - uses: peter-evans/create-pull-request@v5 + - uses: peter-evans/create-pull-request@v6 with: commit-message: Update color primitives branch: update-color-primitives diff --git a/CHANGELOG.md b/CHANGELOG.md index da7823df..56127c15 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,7 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changes -- +- chore(ci): use `actions/checkout@v4` ### Issues Fix