Skip to content

Commit

Permalink
Merge pull request #2 from cloudlinux/moredure-patch-1
Browse files Browse the repository at this point in the history
Update test.yml
  • Loading branch information
moredure authored Jan 5, 2023
2 parents 12284d6 + b404b3d commit 433ea03
Showing 1 changed file with 6 additions and 16 deletions.
22 changes: 6 additions & 16 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: tests

on:
push: {branches: [master]}
pull_request: {branches: [master]}
push: {branches: [cl]}
pull_request: {branches: [cl]}

jobs:
test:
Expand All @@ -12,21 +12,12 @@ jobs:
fail-fast: false
matrix:
imgtag:
- "golang:1.15-buster"
- "golang:1.16-buster"
- "golang:1.17-buster"
- "golang:1.19.1-buster"
goarch:
- "amd64"
nsq_ver:
- "nsq-1.1.0.linux-amd64.go1.10.3"
- "nsq-1.2.0.linux-amd64.go1.12.9"
- "nsq-1.2.1.linux-amd64.go1.16.6"
include:
# test 386 only against latest version of NSQ
- imgtag: "golang:1.17-buster"
goarch: "386"
nsq_ver: "nsq-1.2.1.linux-amd64.go1.16.6"

- "https://github.com/cloudlinux/nsq/releases/download/1.2.1-1/nsq-1.2.1-1.linux-amd64.go1.19.1.tar.gz"

container: "${{matrix.imgtag}}"
env:
GOPATH: "${{github.workspace}}/go"
Expand All @@ -41,8 +32,7 @@ jobs:
- name: download NSQ
run: |
cd ${{env.SRCDIR}}
curl -sSL "http://bitly-downloads.s3.amazonaws.com/nsq/${{matrix.nsq_ver}}.tar.gz" \
| tar -xzv --strip-components=1
curl -sSL "${{matrix.nsq_ver}}" | tar -xzv --strip-components=1
- name: test
run: |
Expand Down

0 comments on commit 433ea03

Please sign in to comment.