Skip to content

Commit

Permalink
ci: Update machine, action versions
Browse files Browse the repository at this point in the history
It's been a little while, so dust off the CI workflows.
  • Loading branch information
rafaelespinoza committed Feb 20, 2023
1 parent ff86e72 commit 46d46f9
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 32 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-cassandra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ on: [push, pull_request]
jobs:
v3:
name: cassandra_v3
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Build environment and run tests
run: make -f ci.Makefile ci-cassandra3-up
- name: Upload code coverage
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
files: /tmp/cover.out,/tmp/cover_driver.out
Expand All @@ -19,14 +19,14 @@ jobs:
run: make -f ci.Makefile ci-cassandra3-down
v4:
name: cassandra_v4
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Build environment and run tests
run: make -f ci.Makefile ci-cassandra4-up
- name: Upload code coverage
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
files: /tmp/cover.out,/tmp/cover_driver.out
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/build-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ on: [push, pull_request]
jobs:
mariadb:
name: mariadb v10.6
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Build environment and run tests
run: make -f ci.Makefile ci-mariadb-up
- name: Upload code coverage
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
files: /tmp/cover.out,/tmp/cover_driver.out
Expand All @@ -19,14 +19,14 @@ jobs:
run: make -f ci.Makefile ci-mariadb-down
mysql_v57:
name: mysql v5.7
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Build environment and run tests
run: make -f ci.Makefile ci-mysql57-up
- name: Upload code coverage
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
files: /tmp/cover.out,/tmp/cover_driver.out
Expand All @@ -35,14 +35,14 @@ jobs:
run: make -f ci.Makefile ci-mysql57-down
mysql_v8:
name: mysql v8.0
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Build environment and run tests
run: make -f ci.Makefile ci-mysql8-up
- name: Upload code coverage
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
files: /tmp/cover.out,/tmp/cover_driver.out
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/build-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ on: [push, pull_request]
jobs:
v12:
name: postgres v12
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Build environment and run tests
run: make -f ci.Makefile ci-postgres12-up
- name: Upload code coverage
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
files: /tmp/cover.out,/tmp/cover_driver.out
Expand All @@ -19,14 +19,14 @@ jobs:
run: make -f ci.Makefile ci-postgres12-down
v13:
name: postgres v13
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Build environment and run tests
run: make -f ci.Makefile ci-postgres13-up
- name: Upload code coverage
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
files: /tmp/cover.out,/tmp/cover_driver.out
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-sqlite3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: sqlite3
on: [push, pull_request]
jobs:
all:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Build environment and run tests
run: make -f ci.Makefile ci-sqlite3-up
- name: Upload code coverage
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
files: /tmp/cover.out,/tmp/cover_driver.out
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-sqlserver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: sqlserver
on: [push, pull_request]
jobs:
all:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Build environment and run tests
run: make -f ci.Makefile ci-sqlserver-up
- name: Upload code coverage
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
files: /tmp/cover.out,/tmp/cover_driver.out
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@ name: static
on: [push, pull_request]
jobs:
security_scan:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Run gosec
uses: securego/gosec@master
with:
args: --tests . ./internal/... ./drivers/...

vet:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.17
- name: Vet source
Expand Down

0 comments on commit 46d46f9

Please sign in to comment.