From 15e5ed592b05a1ddbc433a8ee2596cd9d23eb464 Mon Sep 17 00:00:00 2001 From: Mathieu Deous Date: Thu, 5 Jan 2023 14:40:38 +0100 Subject: require at least go 1.17 (#122) --- .github/workflows/test.yml | 1 - README.md | 2 +- go.mod | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a3cbc35..88e39c4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,6 @@ jobs: strategy: matrix: go_version: - - '~1.16' - '~1.17' - '^1.18' diff --git a/README.md b/README.md index 2ee0606..ac956df 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ and then passed to some dangerous function like `system`". ### From source -- Install Go (using your package manager, or [manually](https://go.dev/doc/install)) +- Install Go >= 1.17 (using your package manager, or [manually](https://go.dev/doc/install)) - Install libyara >= 4.2 (using your package manager, or [from source](https://yara.readthedocs.io/en/stable/gettingstarted.html)) - Download php-malware-finder: `git clone https://github.com/jvoisin/php-malware-finder.git` - Build php-malware-finder: `cd php-malware-finder && make` diff --git a/go.mod b/go.mod index c2e4b32..98dfc0e 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/jvoisin/php-malware-finder -go 1.16 +go 1.17 require ( github.com/hillu/go-yara/v4 v4.2.4 -- cgit v1.3