diff options
| author | Simon Hauser <Simon-Hauser@outlook.de> | 2022-12-28 13:11:00 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-28 13:11:00 +0100 |
| commit | 0a7588252a4290900d05452b8be91fb44e3eae2e (patch) | |
| tree | 4518b986fbd8489b7a406b5d8b5644e3f3564ec0 /.github/workflows/ci.yml | |
| parent | e960efa60e97df58e089b00270f09d60f27202c8 (diff) | |
chore: bump ci to more modern os and nvim versions (#2289)
Diffstat (limited to '.github/workflows/ci.yml')
| -rw-r--r-- | .github/workflows/ci.yml | 32 |
1 files changed, 20 insertions, 12 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1e05c35..8e9f197 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,30 +10,38 @@ jobs: fail-fast: false matrix: include: - - os: ubuntu-20.04 - url: https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.tar.gz + - os: ubuntu-22.04 + rev: nightly/nvim-linux64.tar.gz manager: sudo apt-get packages: -y ripgrep - - os: ubuntu-20.04 - url: https://github.com/neovim/neovim/releases/download/v0.7.0/nvim-linux64.tar.gz + - os: ubuntu-22.04 + rev: v0.7.2/nvim-linux64.tar.gz manager: sudo apt-get packages: -y ripgrep - - os: macos-10.15 - url: https://github.com/neovim/neovim/releases/download/nightly/nvim-macos.tar.gz + - os: ubuntu-22.04 + rev: v0.8.1/nvim-linux64.tar.gz + manager: sudo apt-get + packages: -y ripgrep + - os: macos-12 + rev: nightly/nvim-macos.tar.gz + manager: brew + packages: ripgrep + - os: macos-12 + rev: v0.7.2/nvim-macos.tar.gz manager: brew packages: ripgrep - - os: macos-10.15 - url: https://github.com/neovim/neovim/releases/download/v0.7.0/nvim-macos.tar.gz + - os: macos-12 + rev: v0.8.1/nvim-macos.tar.gz manager: brew packages: ripgrep steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: date +%F > todays-date - name: Restore from todays cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: _neovim - key: ${{ runner.os }}-${{ matrix.url }}-${{ hashFiles('todays-date') }} + key: ${{ runner.os }}-${{ matrix.rev }}-${{ hashFiles('todays-date') }} - name: Prepare run: | @@ -41,7 +49,7 @@ jobs: ${{ matrix.manager }} install ${{ matrix.packages }} test -d _neovim || { mkdir -p _neovim - curl -sL ${{ matrix.url }} | tar xzf - --strip-components=1 -C "${PWD}/_neovim" + curl -sL "https://github.com/neovim/neovim/releases/download/${{ matrix.rev }}" | tar xzf - --strip-components=1 -C "${PWD}/_neovim" } mkdir -p ~/.local/share/nvim/site/pack/vendor/start git clone --depth 1 https://github.com/nvim-lua/plenary.nvim ~/.local/share/nvim/site/pack/vendor/start/plenary.nvim |
