Skip to content

Update gh checkout action to v4 #171

Update gh checkout action to v4

Update gh checkout action to v4 #171

Workflow file for this run

name: CI Workflow
on: [pull_request, workflow_dispatch]
jobs:
main:
name: CI
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
go-version: ["1.18", "1.19", "1.20"]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Install project tools and dependencies
if: ${{ matrix.go-version == '1.19' || matrix.go-version == '1.20' }}
run: make project-tools
- name: Lint
if: ${{ matrix.go-version == '1.19' || matrix.go-version == '1.20' }}
run: |
make lint
scripts/check-sync-tidy.sh
- name: Test
run: make test