Skip to content

chore(deps): update alpine Docker tag to v3.18.4 #103

chore(deps): update alpine Docker tag to v3.18.4

chore(deps): update alpine Docker tag to v3.18.4 #103

Workflow file for this run

# GitHub Actions workflow to build, test and publish the project.
name: "Go"
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
GO_VERSION: "1.21.x"
jobs:
govulncheck:
name: "Vulnerability Check"
runs-on: "ubuntu-latest"
permissions:
contents: read
steps:
- name: "Checkout repository"
uses: actions/checkout@v4
- name: "Set up Go ${{ env.GO_VERSION }}"
uses: actions/setup-go@v4
with:
go-version: "${{ env.GO_VERSION }}"
cache: true
- name: "Install"
run: go install golang.org/x/vuln/cmd/govulncheck@latest
- name: "Run"
run: govulncheck ./...
build:
name: "Build"
runs-on: "ubuntu-latest"
permissions:
contents: read
steps:
- name: "Checkout repository"
uses: actions/checkout@v4
- name: "Set up Go ${{ env.GO_VERSION }}"
uses: actions/setup-go@v4
with:
go-version: "${{ env.GO_VERSION }}"
cache: true
- name: "Download dependencies"
run: go mod download
- name: "Verify dependencies"
run: go mod verify
- name: "Build"
run: go build -v ./...
- name: "Test"
run: go test -v ./...
- name: "Test (race)"
run: go test -race -v ./...
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json