Skip to content

Commit

Permalink
update deps; add test action
Browse files Browse the repository at this point in the history
  • Loading branch information
richardlehane committed Aug 15, 2024
1 parent 15576ed commit 5be8947
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 9 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This workflow runs all the tests in ubuntu, windows and mac
# environments.
#
# Trigger this workflow by pushing commits or by opening
# a pull request.
name: Test
on:
push:
pull_request:
types:
- opened
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
go: [ '1.x', '1.20', '1.19', '1.18']
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Install latest version of go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Run tests
run: go test -v ./...
4 changes: 0 additions & 4 deletions .travis.yml

This file was deleted.

4 changes: 3 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
module github.com/richardlehane/mscfb

require github.com/richardlehane/msoleps v1.0.1
go 1.22.3

require github.com/richardlehane/msoleps v1.0.3
6 changes: 2 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
github.com/richardlehane/msoleps v1.0.0 h1:43jYNcb7QTmsVrYW7JL5juc780S/2zZcGnseW6PL09A=
github.com/richardlehane/msoleps v1.0.0/go.mod h1:BWev5JBpU9Ko2WAgmZEuiz4/u3ZYTKbjLycmwiWUfWg=
github.com/richardlehane/msoleps v1.0.1 h1:RfrALnSNXzmXLbGct/P2b4xkFz4e8Gmj/0Vj9M9xC1o=
github.com/richardlehane/msoleps v1.0.1/go.mod h1:BWev5JBpU9Ko2WAgmZEuiz4/u3ZYTKbjLycmwiWUfWg=
github.com/richardlehane/msoleps v1.0.3 h1:aznSZzrwYRl3rLKRT3gUk9am7T/mLNSnJINvN0AQoVM=
github.com/richardlehane/msoleps v1.0.3/go.mod h1:BWev5JBpU9Ko2WAgmZEuiz4/u3ZYTKbjLycmwiWUfWg=

0 comments on commit 5be8947

Please sign in to comment.