Skip to content

Commit

Permalink
remove go1.19 and update to python3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
dmachard committed Oct 10, 2023
1 parent 79fd630 commit d7616c6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,13 @@ jobs:
- name: build binary
run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o go-dnscollector *.go

# for macos and window, limit the build to the latest version
go-macos:
runs-on: macos-latest

strategy:
matrix:
go-version: [ '1.20', '1.21' ]
go-version: [ '1.21' ]

steps:
- uses: actions/checkout@v4
Expand All @@ -53,7 +54,7 @@ jobs:

strategy:
matrix:
go-version: [ '1.20', '1.21' ]
go-version: [ '1.21' ]

steps:
- uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/testing-dnstap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
go-version: ${{ matrix.go-version }}
- uses: actions/setup-python@v4
with:
python-version: 3.11
python-version: 3.12

- name: build binary
run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o go-dnscollector *.go
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
go-version: ${{ matrix.go-version }}
- uses: actions/setup-python@v4
with:
python-version: 3.11
python-version: 3.12

- name: build binary
run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o go-dnscollector *.go
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
go-version: ${{ matrix.go-version }}
- uses: actions/setup-python@v4
with:
python-version: 3.11
python-version: 3.12

- name: build binary
run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o go-dnscollector *.go
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:
go-version: ${{ matrix.go-version }}
- uses: actions/setup-python@v4
with:
python-version: 3.11
python-version: 3.12

- name: build binary
run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o go-dnscollector *.go
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testing-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
go-version: ${{ matrix.go-version }}
- uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '3.12'

- name: build binary
run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o go-dnscollector *.go
Expand Down

0 comments on commit d7616c6

Please sign in to comment.