Skip to content

✨ Update setup-go and actions/checkout versions. #17

✨ Update setup-go and actions/checkout versions.

✨ Update setup-go and actions/checkout versions. #17

Workflow file for this run

name: tests
on:
push:
branches:
- master
paths-ignore:
- 'README.md'
pull_request:
types: ['opened', 'synchronize']
paths-ignore:
- 'README.md'
jobs:
unit:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22
- name: Setup Prerequisites
run: |
chmod 765 test/filemode.txt
- name: Run tests
run: go test -v -race -cover