Skip to content

Bump github.com/cyphar/filepath-securejoin from 0.2.3 to 0.2.4 #931

Bump github.com/cyphar/filepath-securejoin from 0.2.3 to 0.2.4

Bump github.com/cyphar/filepath-securejoin from 0.2.3 to 0.2.4 #931

Workflow file for this run

on: [push, pull_request]
name: CI
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ 1.20.x, 1.21.x, tip ]
steps:
- name: Set up Go stable
if: matrix.go-version != 'tip'
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Set up Go tip
if: matrix.go-version == 'tip'
run: |
curl -sL https://storage.googleapis.com/go-build-snap/go/linux-amd64/$(git ls-remote https://github.com/golang/go.git HEAD | awk '{print $1;}').tar.gz -o gotip.tar.gz
ls -lah gotip.tar.gz
mkdir -p ~/sdk/gotip
tar -C ~/sdk/gotip -xzf gotip.tar.gz
~/sdk/gotip/bin/go version
echo "PATH=$HOME/go/bin:$HOME/sdk/gotip/bin/:$PATH" >> $GITHUB_ENV
- name: checkout code
uses: actions/checkout@v3
- name: golangci-lint
if: matrix.go-version == '1.21.x'
uses: golangci/golangci-lint-action@v3
with:
version: v1.54.2
- name: test
run: make test