Skip to content

fix(deps): update all dependencies - autoclosed #17

fix(deps): update all dependencies - autoclosed

fix(deps): update all dependencies - autoclosed #17

Workflow file for this run

name: csfloat-build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
# pull-requests: read
env:
GO_VERSION: 1.23.1
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup go-task
uses: pnorton5432/setup-task@v1
with:
task-version: 3.29.1
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- run: go version && echo $GO_VERSION && echo ${{ env.GO_VERSION }}
name: display go version
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
# Require: The version of golangci-lint to use.
# When `install-mode` is `binary` (default) the value can be v1.2 or v1.2.3 or `latest` to use the latest version.
# When `install-mode` is `goinstall` the value can be v1.2.3, `latest`, or the hash of a commit.
version: latest
# args: -v
- name: unit tests
run: task test
- name: build executable
run: task build
- uses: golang/govulncheck-action@v1
name: govulncheck
continue-on-error: true
with:
go-version-input: ${{ env.GO_VERSION }}