[SERV-1137] Support thumbnail processing #73
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
# Defines environmental variables | |
env: | |
GO_VERSION: '1.22.2' | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
# The type of runner that the job will run on | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, macos-12, windows-latest] | |
steps: | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
# Setup Go | |
- name: Setup Go | |
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version: "${{ env.GO_VERSION }}" | |
- name: Go fmt | |
run: go fmt ./... | |
- name: Build and Run | |
run: | | |
go build -o festerize main.go | |
./festerize | |
- name: Test with the Go CLI | |
run: go test |