Drop support for go1.18 and go1.19

This commit is contained in:
世界 2024-06-07 15:40:32 +08:00
parent ab4353dd13
commit f3380c8dfe
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
2 changed files with 1 additions and 33 deletions

View file

@ -30,38 +30,6 @@ jobs:
- name: Build
run: |
make test
build_go118:
name: Linux Debug build (Go 1.18)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ~1.18
continue-on-error: true
- name: Build
run: |
make test
build_go119:
name: Linux Debug build (Go 1.19)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ~1.19
continue-on-error: true
- name: Build
run: |
make test
build_go120:
name: Linux Debug build (Go 1.20)
runs-on: ubuntu-latest

2
go.mod
View file

@ -1,6 +1,6 @@
module github.com/sagernet/sing
go 1.18
go 1.20
require (
github.com/stretchr/testify v1.9.0