Skip to content
This repository was archived by the owner on Jan 29, 2026. It is now read-only.

VLN-548: Set explicit permissions for GitHub Actions workflows (#387) #630

VLN-548: Set explicit permissions for GitHub Actions workflows (#387)

VLN-548: Set explicit permissions for GitHub Actions workflows (#387) #630

Workflow file for this run

name: Test
permissions:
contents: read
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Print build information
run: 'echo head_ref: ${{ github.head_ref }}, ref: ${{ github.ref }}, os: ${{ matrix.os }}'
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
check-latest: true
- name: build
run: make build
- name: test
run: make test
- name: test
run: make check