Skip to content

Install nss on macos CI #150

Install nss on macos CI

Install nss on macos CI #150

Workflow file for this run

name: CI
on:
push:
jobs:
build:
name: Compile
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
check-latest: true
- name: Compile
run: make install
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
check-latest: true
- name: Install certutil on macos
if: ${{ matrix.os == 'macos-latest' }}
run: |
brew install nss
- name: Test
run: make test
vet:
name: Vet
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- uses: golangci/golangci-lint-action@v3
with:
args: --timeout 180s