Files
overlayfs/.github/workflows/test.yaml
Matheus Sampaio Queiroga 55fe97bed8
Some checks failed
Golang test / go-test (ubuntu-latest) (push) Successful in 9s
Golang test / go-test (windows-latest) (push) Failing after 59s
Remove freebsd
2025-07-07 20:01:23 -03:00

35 lines
660 B
YAML

name: Golang test
on:
pull_request:
branches: [main]
push:
branches: [main]
tags-ignore:
- '*'
jobs:
go-test:
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
name: Checkout code
- uses: actions/setup-go@v4
with:
go-version-file: "go.mod"
cache: true
- name: Download go dependencies
run: go get ./...
- name: Mount tmpfs (linux)
if: matrix.os == 'ubuntu-latest'
run: sudo mount -t tmpfs tmpfs /tmp
- name: Test
run: go test -timeout 0 -v ./...