Skip to content

Merge pull request #330 from flavio/dependabot/github_actions/docker/… #923

Merge pull request #330 from flavio/dependabot/github_actions/docker/…

Merge pull request #330 from flavio/dependabot/github_actions/docker/… #923

Workflow file for this run

name: CI
on:
workflow_call:
push:
pull_request:
# Declare default permissions as read only.
permissions:
contents: read
jobs:
unit_tests:
name: Unit tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
include:
- os: macos-latest
- os: ubuntu-latest
- os: windows-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
with:
go-version-file: go.mod
- run: go test ./...
golangci:
name: Golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
with:
go-version-file: go.mod
- run: make lint