Skip to content

Commit

Permalink
Merge pull request #66 from magiconair/github-actions
Browse files Browse the repository at this point in the history
use github actions
  • Loading branch information
magiconair committed Dec 8, 2022
2 parents 9616e36 + 1d2df58 commit abaf4ae
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 20 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/go.yml
@@ -0,0 +1,27 @@
name: properties
on: [push, pull_request]
jobs:
test:
name: Test ${{ matrix.os }} go${{ matrix.go }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
go: ["1.19.x","1.18.x","1.11.x","1.10.x","1.5.x"]

steps:
- name: Setup Go ${{ matrix.go }}
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v1
with:
path: go/src/github.com/magiconair/properties

- name: Run Tests (GOPATH)
run: go test ./...
env:
GOPATH: /home/runner/work/properties/go
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

0 comments on commit abaf4ae

Please sign in to comment.