From e7139cf971082c6494b00ee1dfedc9eab29d2553 Mon Sep 17 00:00:00 2001 From: Steven Arcangeli Date: Wed, 16 Mar 2022 20:46:09 -0700 Subject: [PATCH] ci: run actions on ubuntu 20.04 --- .github/workflows/lint.yml | 17 ++++++++--------- .github/workflows/tests.yml | 2 +- .github/workflows/update-readme.yml | 2 +- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 7a02c3c..f560bba 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -5,7 +5,7 @@ on: [push, pull_request] jobs: luacheck: name: Luacheck - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v1 @@ -21,12 +21,11 @@ jobs: stylua: name: StyLua - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 - - name: Stylua - uses: JohnnyMorganz/stylua-action@1.0.0 - with: - token: ${{ secrets.GITHUB_TOKEN }} - args: --check . - + - uses: actions/checkout@v2 + - name: Stylua + uses: JohnnyMorganz/stylua-action@1.0.0 + with: + token: ${{ secrets.GITHUB_TOKEN }} + args: --check . diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5bfc54a..ae1b384 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,7 +9,7 @@ jobs: nvim_tag: [v0.5.0, v0.5.1, v0.6.0, v0.6.1] name: Run tests - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 env: NVIM_TAG: ${{ matrix.nvim_tag }} steps: diff --git a/.github/workflows/update-readme.yml b/.github/workflows/update-readme.yml index ad146b8..a2f67dd 100644 --- a/.github/workflows/update-readme.yml +++ b/.github/workflows/update-readme.yml @@ -5,7 +5,7 @@ on: push jobs: update-readme: name: Update README - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v1