Skip to content

fix: CVE-2024-45338 in golang.org/x/net bump to v0.33.0 (#880) #678

fix: CVE-2024-45338 in golang.org/x/net bump to v0.33.0 (#880)

fix: CVE-2024-45338 in golang.org/x/net bump to v0.33.0 (#880) #678

Workflow file for this run

name: Goose CI
on:
push:
branches:
- master
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Run unit tests
timeout-minutes: 10
strategy:
matrix:
go-version: [oldstable, stable]
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: ${{ matrix.go-version }}
- name: Check Go code formatting
run: |
if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then
gofmt -s -l .
echo "Please format Go code by running: go fmt ./..."
exit 1
fi
- name: Install tparse
run: go install github.com/mfridman/tparse@main
- name: Run tests
run: |
mkdir -p bin
go vet ./...
go build ./...
make test-packages
- name: Install GoReleaser
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.go-version == 'stable'
uses: goreleaser/goreleaser-action@v6
with:
install-only: true
distribution: goreleaser
version: "~> v2"
- name: Gorelease dry-run
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.go-version == 'stable'
run: |
goreleaser release --skip=publish --snapshot --fail-fast --clean