Skip to content

Commit

Permalink
ci: Update GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperupcall committed Oct 2, 2023
1 parent e38696a commit e338699
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
matrix:
os: [ubuntu-20.04, ubuntu-22.04, macos-12, macos-11]

runs-on: ${{ matrix.os }}
runs-on: '${{ matrix.os }}'

steps:
- uses: actions/checkout@v2
- uses: 'actions/checkout@v4'
- name: Install greadlink
if: startsWith(runner.os, 'macOS')
run: brew install coreutils
Expand All @@ -26,9 +26,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: 'actions/checkout@v4'
- name: Set up Python
uses: actions/setup-python@v2
uses: 'actions/setup-python@v4'
with:
python-version: 3.8
- name: Install docs dependencies
Expand All @@ -40,19 +40,21 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: 'actions/checkout@v4'
- name: Set up Go
uses: actions/setup-go@v2
uses: 'actions/setup-go@v4'
with:
go-version: 1.17
go-version: 1.19
- name: Set up Python
uses: actions/setup-python@v2
uses: 'actions/setup-python@v4'
with:
python-version: 3.8
# - name: Update APT Package Lists
# run: sudo apt-get update
- name: Install shfmt
run: GO111MODULE=on go get mvdan.cc/sh/v3/cmd/shfmt
run: go install mvdan.cc/sh/v3/cmd/shfmt
env:
GO111MODULE: 'on'
- name: Install shellcheck
env:
scversion: stable # Or latest, vxx, etc
Expand Down

0 comments on commit e338699

Please sign in to comment.