Skip to content

Bump actions/checkout from 3 to 4 #77

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #77

Workflow file for this run

name: Go
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize]
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
go: ['1.17.x']
runs-on: ${{ matrix.os }}
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
check-latest: true
- name: Check out code into the Go module directory
uses: actions/checkout@v4
with:
path: src/github.com/ikawaha/waifu2x.go
- name: Build
run: go build -v ./...
working-directory: src/github.com/ikawaha/waifu2x.go
- name: Test
run: |
go test -v ./...
working-directory: src/github.com/ikawaha/waifu2x.go
- name: Benchmark
run: |
cd engine
go test -v -bench .
working-directory: src/github.com/ikawaha/waifu2x.go