Skip to content

Commit a2c0da2

Browse files
authored
Merge pull request #39 from UlrichEckhardt/feature/github-actions
Make compatible with Go 1.17 again
2 parents 3c2c787 + 2536815 commit a2c0da2

File tree

3 files changed

+32
-15
lines changed

3 files changed

+32
-15
lines changed

.github/workflows/go.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# This workflow will build a golang project
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
3+
4+
name: Go
5+
6+
7+
on: [push, pull_request]
8+
9+
jobs:
10+
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
strategy:
15+
matrix:
16+
go-version: [ '1.17', '1.18', '1.19', '1.20', '1.21', '1.22' ]
17+
18+
steps:
19+
- uses: actions/checkout@v4
20+
21+
- name: Setup Go ${{ matrix.go-version }}
22+
uses: actions/setup-go@v5
23+
with:
24+
go-version: ${{ matrix.go-version }}
25+
26+
# You can test your matrix by printing the current Go version
27+
- name: Display Go version
28+
run: go version
29+
30+
- name: Test
31+
run: go test -v ./...

.travis.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module github.com/youmark/pkcs8
22

3-
go 1.22
3+
go 1.17
44

55
require golang.org/x/crypto v0.22.0

0 commit comments

Comments
 (0)