diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7b8cc36..966f3f5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,14 +7,15 @@ jobs: matrix: os: [ ubuntu-latest, macos-latest, windows-latest ] steps: - - uses: actions/checkout@v2 - - uses: actions/setup-go@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version: '^1.22' # The Go version to download (if necessary) and use. - run: go test -race -coverprofile coverage.txt -coverpkg ./... -covermode atomic ./... - - uses: codecov/codecov-action@v1 + - uses: codecov/codecov-action@v4 with: - file: coverage.txt + files: coverage.txt + token: ${{ secrets.CODECOV_TOKEN }} compat-test: runs-on: ubuntu-latest @@ -23,8 +24,8 @@ jobs: encryption-method: [ plain, chacha20-poly1305 ] num-conn: [ 0, 1, 4 ] steps: - - uses: actions/checkout@v2 - - uses: actions/setup-go@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version: '^1.22' - name: Build Cloak diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 44aae4c..62c9bf5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Build run: | export PATH=${PATH}:`go env GOPATH`/bin