Skip to content

Update actions/checkout digest to 11bd719 #13

Update actions/checkout digest to 11bd719

Update actions/checkout digest to 11bd719 #13

Workflow file for this run

name: test-and-lint
on:
pull_request:
branches:
- main
permissions:
contents: read
jobs:
# Runs golangci-lint on macos against freebsd and macos.
golangci-darwin:
strategy:
matrix:
os: [darwin, freebsd]
name: golangci-lint
runs-on: macos-latest
env:
GOOS: ${{ matrix.os }}
steps:
- uses: actions/setup-go@v4
with:
go-version: '1.20'
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: 'v1.53'
# Runs golangci-lint on linux against linux and windows.
golangci-linux:
strategy:
matrix:
os: [windows, linux]
name: golangci-lint
runs-on: ubuntu-latest
env:
GOOS: ${{ matrix.os }}
steps:
- uses: actions/setup-go@v4
with:
go-version: '1.20'
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: 'v1.53'