Skip to content

Sync to "upstream/master" to fix (golang.org/x/net) CVE-2023-39325/CVE-2023-3978 #234

Sync to "upstream/master" to fix (golang.org/x/net) CVE-2023-39325/CVE-2023-3978

Sync to "upstream/master" to fix (golang.org/x/net) CVE-2023-39325/CVE-2023-3978 #234

Workflow file for this run

name: Linux Tests
on:
pull_request: {}
push: {}
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: ^1.16
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Run unit test
run: |
export PATH=$PATH:$HOME/.local/bin
wget https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
sudo apt-get update
sudo apt-get install blobfuse
go test -covermode=count -coverprofile=profile.cov ./pkg/...
- name: Run build test
run: |
export PATH=$PATH:$HOME/.local/bin
make
- name: Make container test
run: |
export PATH=$PATH:$HOME/.local/bin
make container
- name: Make blobfuse-proxy test
run: |
export PATH=$PATH:$HOME/.local/bin
make blobfuse-proxy
- name: Get code coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
GO111MODULE=off go get github.com/mattn/goveralls
$(go env GOPATH)/bin/goveralls -coverprofile=profile.cov -service=github