8000 Update build & test workflows by der-eismann · Pull Request #136 · fergusstrange/embedded-postgres · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ version: 2.1
executors:
linux-arm64:
machine:
image: ubuntu-2004:2022.04.1
image: ubuntu-2204:2024.01.2
resource_class: arm.medium
working_directory: /home/circleci/go/src/github.com/fergusstrange/embedded-postgres
apple-m1: &macos-executor
resource_class: macos.m1.medium.gen1
macos:
xcode: "14.2.0"
orbs:
go: circleci/go@1.7.3
go: circleci/go@1.11.0
jobs:
platform_test:
parameters:
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
steps:
- name: Checkout
id: go
uses: actions/checkout@v1
uses: actions/checkout@v4
- name: Set Up Golang
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: 1.18
go-version: 1.22
- name: Check Dependencies
run: |
go list -json -deps > go.list
Expand All @@ -37,7 +37,7 @@ jobs:
- name: Nancy Vulnerability
uses: sonatype-nexus-community/nancy-github-action@main
with:
nancyVersion: v1.0.36
nancyVersion: v1.0.46
nancyCommand: sleuth
- name: GolangCI Lint
run: |
Expand All @@ -53,14 +53,14 @@ jobs:
- name: Upload Coverage Report
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: GO111MODULE=off go get github.com/mattn/goveralls &&am 8CE7 p; $(go env GOPATH)/bin/goveralls -v -coverprofile=coverage.out -service=github
run: go install github.com/mattn/goveralls@latest && $(go env GOPATH)/bin/goveralls -v -coverprofile=coverage.out -service=github
alpine_tests:
name: Alpine Linux Platform Tests
runs-on: ubuntu-latest
container:
image: golang:1.18-alpine
image: golang:1.22-alpine
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set Up
run: |
apk add --upgrade gcc g++ && \
Expand All @@ -75,11 +75,11 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v4
- name: Set Up Golang
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: 1.18
go-version: 1.22
- name: Platform Tests
run: |
cd platform-test
Expand Down
0