Skip to content

Commit

Permalink
Merge pull request #1 from testcontainers/master
Browse files Browse the repository at this point in the history
Pulling in latest changes
  • Loading branch information
shashank-g172 committed Oct 28, 2020
2 parents 40061e5 + f1da19a commit 3d286af
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Main pipeline

on: [push, pull_request]

jobs:
static-analysis:
runs-on: [ubuntu-latest]
steps:

- uses: actions/checkout@v2
- name: Run ShellCheck
run: |
shellcheck scripts/*.sh
- name: Run gofmt
run: |
./scripts/checks.sh
test:
strategy:
matrix:
go-version: [1.14.x, 1.15.x, 1.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:

- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Get dependencies
run: |
go get -v -t -d ./...
go get gotest.tools/gotestsum
- name: modVerify
run: go mod verify

- name: modTidy
run: go mod tidy

- name: vet
run: go vet ./...

- name: gotestsum
run: gotestsum --format short-verbose ./...

0 comments on commit 3d286af

Please sign in to comment.