Skip to content

Commit

Permalink
Update build & test workflows (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
der-eismann committed May 10, 2024
1 parent c00e987 commit 234c605
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
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 && $(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 comments on commit 234c605

Please sign in to comment.