Skip to content

Commit

Permalink
rm 16 17 support
Browse files Browse the repository at this point in the history
  • Loading branch information
korniltsev committed May 24, 2024
1 parent ed47413 commit 9f94b26
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 22 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go: ['1.16', '1.17', '1.18', '1.19', '1.20', '1.21', '1.22', 'tip']
go: ['1.18', '1.19', '1.20', '1.21', '1.22', 'tip']
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -21,11 +21,7 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- name: Downgrade go.mod for go 1.17 and go 1.16
if: matrix.go == '1.17' || matrix.go == '1.16'
run: make go/mod_16_for_testing
- name: Run go/mod
if: matrix.go != '1.17' && matrix.go != '1.16'
run: make go/mod && git diff --exit-code
- name: Install Go stable
if: matrix.go == 'tip'
Expand Down
5 changes: 0 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,3 @@ go/mod:
cd godeltaprof/ && GO111MODULE=on go mod download
cd godeltaprof/ && GO111MODULE=on go mod tidy

.PHONY: go/mod_16_for_testing
go/mod_16_for_testing:
rm -rf godeltaprof/compat/go.mod godeltaprof/compat/go.sum godeltaprof/go.mod godeltaprof/go.sum go.work otelpyroscope/
cat go.mod_go16_test.txt > go.mod
go mod tidy
12 changes: 0 additions & 12 deletions go.mod_go16_test.txt

This file was deleted.

0 comments on commit 9f94b26

Please sign in to comment.