1
0
mirror of https://github.com/6543/go-hexcolor synced 2024-12-18 07:43:41 +00:00

Use GitHub Actions (#1)

This commit is contained in:
6543 2020-09-10 23:30:27 +02:00 committed by GitHub
parent 37a28e401f
commit 70da91da44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

18
.github/workflows/test.yml vendored Normal file
View File

@ -0,0 +1,18 @@
on: [push, pull_request]
name: Test
jobs:
test:
strategy:
matrix:
go-version: [1.14.x, 1.15.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Test
run: go test ./...