Skip to content

Commit

Permalink
PMM-7 remove the CI environment (#147)
Browse files Browse the repository at this point in the history
* PMM-7 remove the CI environment

* PMM-7 do checkout first
  • Loading branch information
Alex Tymchuk authored Aug 31, 2023
1 parent 363fdb1 commit d574655
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ jobs:
name: Test
strategy:
matrix:
go-version:
- 1.17
mysql-image:
- mysql/mysql-server:5.5
- mysql/mysql-server:5.6
Expand All @@ -33,19 +31,16 @@ jobs:
- percona:5.7
- percona:8.0
runs-on: ubuntu-latest
# The environment this job references
environment:
name: CI

steps:
- name: Set up Go release
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}

- name: Checkout code
uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: ${{ github.workspace }}/go.mod

- name: Run checks
run: |
go build -modfile=tools/go.mod -o bin/golangci-lint github.com/golangci/golangci-lint/cmd/golangci-lint
Expand All @@ -55,7 +50,7 @@ jobs:
- name: Run Tests
run: |
docker-compose up -d
docker compose up -d
make all
make test
env:
Expand All @@ -70,4 +65,4 @@ jobs:
pwd
git status
docker --version
docker-compose --version
docker compose --version

0 comments on commit d574655

Please sign in to comment.