Skip to content

Commit ed52c20

Browse files
committed
Update build & test workflows
1 parent 74c945b commit ed52c20

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ version: 2.1
22
executors:
33
linux-arm64:
44
machine:
5-
image: ubuntu-2004:2022.04.1
5+
image: ubuntu-2204:2024.01.2
66
resource_class: arm.medium
77
working_directory: /home/circleci/go/src/github.com/fergusstrange/embedded-postgres
88
apple-m1: &macos-executor
99
resource_class: macos.m1.medium.gen1
1010
macos:
1111
xcode: "14.2.0"
1212
orbs:
13-
go: circleci/go@1.7.3
13+
go: circleci/go@1.11.0
1414
jobs:
1515
platform_test:
1616
parameters:

.github/workflows/build.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
steps:
1212
- name: Checkout
1313
id: go
14-
uses: actions/checkout@v1
14+
uses: actions/checkout@v4
1515
- name: Set Up Golang
16-
uses: actions/setup-go@v3
16+
uses: actions/setup-go@v5
1717
with:
18-
go-version: 1.18
18+
go-version: 1.22
1919
- name: Check Dependencies
2020
run: |
2121
go list -json -deps > go.list
@@ -37,7 +37,7 @@ jobs:
3737
- name: Nancy Vulnerability
3838
uses: sonatype-nexus-community/nancy-github-action@main
3939
with:
40-
nancyVersion: v1.0.36
40+
nancyVersion: v1.0.46
4141
nancyCommand: sleuth
4242
- name: GolangCI Lint
4343
run: |
@@ -53,14 +53,14 @@ jobs:
5353
- name: Upload Coverage Report
5454
env:
5555
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
56-
run: GO111MODULE=off go get github.com/mattn/goveralls && $(go env GOPATH)/bin/goveralls -v -coverprofile=coverage.out -service=github
56+
run: go install github.com/mattn/goveralls@latest && $(go env GOPATH)/bin/goveralls -v -coverprofile=coverage.out -service=github
5757
alpine_tests:
5858
name: Alpine Linux Platform Tests
5959
runs-on: ubuntu-latest
6060
container:
61-
image: golang:1.18-alpine
61+
image: golang:1.22-alpine
6262
steps:
63-
- uses: actions/checkout@v1
63+
- uses: actions/checkout@v4
6464
- name: Set Up
6565
run: |
6666
apk add --upgrade gcc g++ && \
@@ -75,11 +75,11 @@ jobs:
7575
runs-on: ${{ matrix.os }}
7676
steps:
7777
- name: Checkout
78-
uses: actions/checkout@v1
78+
uses: actions/checkout@v4
7979
- name: Set Up Golang
80-
uses: actions/setup-go@v3
80+
uses: actions/setup-go@v5
8181
with:
82-
go-version: 1.18
82+
go-version: 1.22
8383
- name: Platform Tests
8484
run: |
8585
cd platform-test

0 commit comments

Comments
 (0)