Skip to content

Bump actions/checkout from 4 to 5 #338

Bump actions/checkout from 4 to 5

Bump actions/checkout from 4 to 5 #338

Workflow file for this run

name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the main branch
on:
pull_request:
push:
branches: [develop]
jobs:
quicktests:
runs-on: ubuntu-22.04
timeout-minutes: 2
steps:
- name: checkout
uses: actions/checkout@v5
- name: set up go
uses: actions/setup-go@v5
with:
check-latest: true
go-version-file: "go.mod"
- name: fmt, tidy
run: |
make install
make test-fmt
make test-tidy
lint:
runs-on: ubuntu-22.04
timeout-minutes: 2
steps:
- name: checkout
uses: actions/checkout@v5
- name: set up go
uses: actions/setup-go@v5
with:
check-latest: true
go-version-file: "go.mod"
- name: lint
run: |
make install
make lint
build:
runs-on: ubuntu-22.04
timeout-minutes: 2
steps:
- name: checkout
uses: actions/checkout@v5
- name: install udev
run: sudo apt-get install -y libudev-dev
- name: set up go
uses: actions/setup-go@v5
with:
check-latest: true
go-version-file: "go.mod"
- name: build
run: make build
test:
runs-on: ubuntu-22.04
timeout-minutes: 2
steps:
- name: checkout
uses: actions/checkout@v5
- name: set up go
uses: actions/setup-go@v5
with:
check-latest: true
go-version-file: "go.mod"
- name: go test
run: make test