Skip to content

Commit 05b6423

Browse files
committed
ci: switch to GHA
Signed-off-by: Aleksa Sarai <[email protected]>
1 parent 64536a8 commit 05b6423

File tree

3 files changed

+35
-22
lines changed

3 files changed

+35
-22
lines changed

.github/workflows/ci.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: ci
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*"
7+
branches:
8+
- main
9+
pull_request:
10+
schedule:
11+
- cron: "30 10 * * 0"
12+
13+
jobs:
14+
test:
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
os:
19+
- ubuntu-latest
20+
- macos-latest
21+
- windows-latest
22+
go-version:
23+
- "1.14"
24+
- "1.20"
25+
- "1.21"
26+
- "^1"
27+
runs-on: ${{ matrix.os }}
28+
steps:
29+
- uses: actions/checkout@v3
30+
- uses: actions/setup-go@v4
31+
with:
32+
go-version: ${{ matrix.go-version }}
33+
- name: unit tests
34+
run: go test -v -cover ./...

.travis.yml

-21
This file was deleted.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## `filepath-securejoin` ##
22

3-
[![Build Status](https://travis-ci.org/cyphar/filepath-securejoin.svg?branch=master)](https://travis-ci.org/cyphar/filepath-securejoin)
3+
[![Build Status](https://github.com/cyphar/filepath-securejoin/actions/workflows/ci.yml/badge.svg)](https://github.com/cyphar/filepath-securejoin/actions/workflows/ci.yml)
44

55
An implementation of `SecureJoin`, a [candidate for inclusion in the Go
66
standard library][go#20126]. The purpose of this function is to be a "secure"

0 commit comments

Comments
 (0)