diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 00000000..42f2adf6 --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,31 @@ +name: test +on: + push: + branches: + - master + pull_request: + branches: + - master +jobs: + build: + name: go + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + go: ['1.13', '1.14', '1.15'] + steps: + - name: setup + uses: actions/setup-go@v2 + with: + go-version: ${{matrix.go}} + + - name: checkout + uses: actions/checkout@v2 + + - name: tools + run: GO111MODULE=off go get golang.org/x/lint/golint + + - name: test + run: make + diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 972fd5f4..00000000 --- a/.travis.yml +++ /dev/null @@ -1,14 +0,0 @@ -language: go -sudo: required -services: - - docker -go: - - "1.12.x" - - "1.13.x" - - "1.14.x" -install: - - GO111MODULE=off go get golang.org/x/lint/golint -script: - - make -notifications: - email: change diff --git a/README.md b/README.md index 6b188315..9dc69e17 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# matchbox [![Build Status](https://travis-ci.org/poseidon/matchbox.svg?branch=master)](https://travis-ci.org/poseidon/matchbox) [![GoDoc](https://godoc.org/github.com/poseidon/matchbox?status.svg)](https://godoc.org/github.com/poseidon/matchbox) [![Docker Repository on Quay](https://quay.io/repository/poseidon/matchbox/status "Docker Repository on Quay")](https://quay.io/repository/poseidon/matchbox) +# matchbox [![Build Status](https://github.com/poseidon/matchbox/workflows/test/badge.svg)](https://github.com/poseidon/matchbox/actions?query=workflow%3Atest+branch%3Amaster) [![GoDoc](https://godoc.org/github.com/poseidon/matchbox?status.svg)](https://godoc.org/github.com/poseidon/matchbox) [![Quay](https://img.shields.io/badge/container-quay-green)](https://quay.io/repository/poseidon/matchbox) `matchbox` is a service that matches bare-metal machines to profiles that PXE boot and provision clusters. Machines are matched by labels like MAC or UUID during PXE and profiles specify a kernel/initrd, iPXE config, and Container Linux or Fedora CoreOS config. diff --git a/requirements.txt b/requirements.txt index 9eb18e32..3fdd0257 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ mkdocs==1.1.2 -mkdocs-material==5.5.12 +mkdocs-material==6.0.1 pygments==2.6.1 pymdown-extensions==7.1.0