Skip to content

Commit

Permalink
Merge pull request #39 from UlrichEckhardt/feature/github-actions
Browse files Browse the repository at this point in the history
Make compatible with Go 1.17 again
  • Loading branch information
youmark authored Jul 26, 2024
2 parents 3c2c787 + 2536815 commit a2c0da2
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 15 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go

name: Go


on: [push, pull_request]

jobs:

build:
runs-on: ubuntu-latest

strategy:
matrix:
go-version: [ '1.17', '1.18', '1.19', '1.20', '1.21', '1.22' ]

steps:
- uses: actions/checkout@v4

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

# You can test your matrix by printing the current Go version
- name: Display Go version
run: go version

- name: Test
run: go test -v ./...
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/youmark/pkcs8

go 1.22
go 1.17

require golang.org/x/crypto v0.22.0

0 comments on commit a2c0da2

Please sign in to comment.