From 086e5d53ddf81a323f5d85d45a85b0c2d69d09cf Mon Sep 17 00:00:00 2001 From: Kaushal Kapasi <91074031+kaushalkapasi@users.noreply.github.com> Date: Thu, 25 Apr 2024 11:07:46 -0400 Subject: [PATCH] chore: Fix release action (#251) * fix: update release action to use DevCycle Release v2.3.0 * chore: update all gh action dependencies to latest versions --- .github/workflows/bench.yml | 6 +++--- .github/workflows/lint.yml | 6 +++--- .github/workflows/release.yml | 6 +++--- .github/workflows/test.yml | 4 ++-- .github/workflows/test_examples.yml | 4 ++-- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index 228aea80..d6b01488 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -9,14 +9,14 @@ jobs: name: Performance Regression Check - GoNative runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version: 1.19 - name: Run benchmark run: CGO_ENABLED=0 go test -bench=^BenchmarkClient_VariableSerial -run=^# -benchDisableLogs | tee bench_native_output.txt - name: Download previous benchmark data - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ./cache key: ${{ runner.os }}-benchmark diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ee3a8388..a992cda8 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -16,13 +16,13 @@ jobs: name: lint runs-on: ubuntu-latest steps: - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: '1.19' cache: false - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v4 with: version: v1.52.2 args: --sort-results --skip-files proto --disable unused diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d9fd4c0a..740d0c2f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,12 +31,12 @@ jobs: steps: # Check out the repo with credentials that can bypass branch protection, and fetch git history instead of just latest commit - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: token: ${{ secrets.AUTOMATION_USER_TOKEN }} fetch-depth: 0 - - uses: DevCycleHQ/release-action/prepare-release@v2 + - uses: DevCycleHQ/release-action/prepare-release@v2.3.0 id: prepare-release with: github-token: ${{ secrets.AUTOMATION_USER_TOKEN }} @@ -57,7 +57,7 @@ jobs: git push origin HEAD:main if: inputs.draft != true - - uses: DevCycleHQ/release-action/create-release@v2 + - uses: DevCycleHQ/release-action/create-release@v2.3.0 id: create-release with: github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c469b0ad..859364c4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,10 +8,10 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: 1.19 diff --git a/.github/workflows/test_examples.yml b/.github/workflows/test_examples.yml index d44b7def..b2c54460 100644 --- a/.github/workflows/test_examples.yml +++ b/.github/workflows/test_examples.yml @@ -12,10 +12,10 @@ jobs: DEVCYCLE_SERVER_SDK_KEY: ${{ secrets.DEVCYCLE_SERVER_SDK_KEY }} DEVCYCLE_VARIABLE_KEY: test-boolean-variable steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: 1.19