Skip to content

Bump golang from 1.22.2-alpine3.19 to 1.23.2-alpine3.19 #194

Bump golang from 1.22.2-alpine3.19 to 1.23.2-alpine3.19

Bump golang from 1.22.2-alpine3.19 to 1.23.2-alpine3.19 #194

Workflow file for this run

name: Test
on:
push:
branches:
- master
pull_request:
issue_comment:
types:
- created
jobs:
unit:
if: (github.event.issue.pull_request != '' && contains(github.event.comment.body, '/test')) || github.event_name == 'pull_request' || github.event_name == 'push'
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Test
run: go test -v ./...
build:
if: (github.event.issue.pull_request != '' && contains(github.event.comment.body, '/test')) || github.event_name == 'pull_request' || github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Docker build
uses: docker/build-push-action@v5
with:
context: .
build-args: |
VERSION=${{ github.ref_name }}
vulncheck:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
id: go-version
with:
cache: false
go-version-file: go.mod
- name: Scan for Vulnerabilities in Code
uses: wandera/[email protected]
with:
go-version: ${{ steps.go-version.outputs.go-version }}
package: ./...