Skip to content

Bump 'ubuntu-20.04' to 'ubuntu-22.04' #147

Bump 'ubuntu-20.04' to 'ubuntu-22.04'

Bump 'ubuntu-20.04' to 'ubuntu-22.04' #147

name: Continuous Integration
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '0 0 1 * *'
jobs:
static-analysis:
name: Static analysis
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.20.1'
- run: go version
- name: Installing the shfmt tool
run: go install mvdan.cc/sh/v3/cmd/shfmt@latest
- name: Installing the shellcheck tool
run: |
sudo apt update
sudo apt install shellcheck
shellcheck --version
- name: Running checks
run: make check
check-installer:
name: Checking the installation
strategy:
matrix:
os:
- 'ubuntu-22.04'
- 'macos-latest'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Checking the installation of dotfiles on ${{ matrix.os }}
run: make install