Skip to content

update release workflow #314

update release workflow

update release workflow #314

Workflow file for this run

name: Run tests
on:
workflow_dispatch:
push:
pull_request:
branches:
- master
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.23
- name: Use Exiftool
uses: woss/[email protected]
if: matrix.os != 'windows-latest'
- uses: MinoruSekine/[email protected]
with:
apps: exiftool
if: matrix.os == 'windows-latest'
- name: Set up gotestfmt
run: go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest
- name: Run tests
run: go test ./... -json -v -race 2>&1 | gotestfmt -hide 'empty-packages'