Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main-version-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Git config
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
# ncc@0.28.6 uses legacy OpenSSL hashing; Node 20+ requires this flag
NODE_OPTIONS: --openssl-legacy-provider
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: actions/setup-node@v4
with:
node-version: 20
Expand All @@ -25,7 +25,7 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: ./
with:
milliseconds: 1000
2 changes: 1 addition & 1 deletion cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ inputs:
runs:
using: 'composite'
steps:
- uses: actions/cache@v4
- uses: actions/cache@v5
with:
path: ${{ inputs.DEPLOY_CACHE_PATH }}
key: ${{ inputs.DEPLOY_CACHE_KEY }}
6 changes: 3 additions & 3 deletions deploy/eks/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,18 @@ runs:
fi
- name: Configuring AWS credentials (IAM role)
if: ${{ inputs.AWS_ROLE_ARN != '' }}
uses: aws-actions/configure-aws-credentials@v4
uses: aws-actions/configure-aws-credentials@v6
with:
role-to-assume: ${{ inputs.AWS_ROLE_ARN }}
aws-region: ${{ inputs.AWS_REGION }}
- name: Configuring AWS credentials (static)
if: ${{ inputs.AWS_ROLE_ARN == '' }}
uses: aws-actions/configure-aws-credentials@v4
uses: aws-actions/configure-aws-credentials@v6
with:
aws-access-key-id: ${{ inputs.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ inputs.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ inputs.AWS_REGION }}
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Cleaning workspace
if: ${{ inputs.CLEAN_WORKSPACE == 'true' }}
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion deploy/lambda/go/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ inputs:
runs:
using: 'composite'
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Cleaning workspace
shell: bash
run: shopt -s dotglob && rm -rf "${{ github.workspace }}"/*
Expand Down
20 changes: 10 additions & 10 deletions go/configure/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ inputs:
description: Flipp circleci repo token
required: true
BUF_BUILD_USER:
description: Buf CI user stored as secret
description: Buf CI user stored as secret. Deprecated - no longer used by buf-action, kept for backward compatibility.
required: false
BUF_BUILD_API_TOKEN:
description: Buf API token stored as secret
Expand All @@ -20,7 +20,7 @@ runs:
using: "composite"
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: ${{ inputs.FETCH_DEPTH }}
- name: Setting up private modules access
Expand All @@ -32,18 +32,18 @@ runs:
BUF_VERSION=$(awk '/^buf[[:space:]]+/ {print $2}' .tool-versions)
echo "BUF_VERSION=${BUF_VERSION}" >> $GITHUB_ENV
shell: bash
- name: Setting up buf if version is provided
uses: bufbuild/buf-setup-action@v1
- name: Setting up buf with pinned version
uses: bufbuild/buf-action@v1
if: "${{ inputs.BUF_BUILD_API_TOKEN != '' && env.BUF_VERSION != '' }}"
with:
setup_only: true
github_token: ${{ inputs.FLIPPCIRCLECIPULLER_REPO_TOKEN }}
buf_user: ${{ inputs.BUF_BUILD_USER }}
buf_api_token: ${{ inputs.BUF_BUILD_API_TOKEN }}
token: ${{ inputs.BUF_BUILD_API_TOKEN }}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see your build passed, but want to be sure; the new version just doesn't need a user. Token only works?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep seems to work as per success.
Docs also indicate token only is needed https://buf.build/docs/bsr/ci-cd/github-actions/#authentication-and-bsr-tokens

version: ${{ env.BUF_VERSION }}
- name: Setting up buf if version is not provided
uses: bufbuild/buf-setup-action@v1
- name: Setting up buf with default version
uses: bufbuild/buf-action@v1
if: "${{ inputs.BUF_BUILD_API_TOKEN != '' && env.BUF_VERSION == '' }}"
with:
setup_only: true
github_token: ${{ inputs.FLIPPCIRCLECIPULLER_REPO_TOKEN }}
buf_user: ${{ inputs.BUF_BUILD_USER }}
buf_api_token: ${{ inputs.BUF_BUILD_API_TOKEN }}
token: ${{ inputs.BUF_BUILD_API_TOKEN }}
2 changes: 1 addition & 1 deletion go/deps/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ runs:
steps:
- name: Restoring vendor modules from cache
id: vendor-cache
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: vendor
key: vendor-cache-${{ hashFiles('go.mod','go.sum') }}
Expand Down
2 changes: 1 addition & 1 deletion go/lint/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ runs:
version: ${{ env.GOLANGCI_LINT_VERSION }} # Optional - if blank, will use the action's default version resolution
- name: Run v2 Go linter
if: ${{ env.IS_V2 == 'true' }}
uses: golangci/golangci-lint-action@v7 # Note: v7 and up require golangci-lint v2 config
uses: golangci/golangci-lint-action@v9 # Note: v7/v9 and up require golangci-lint v2 config. v9 runs on Node.js 24.
with:
skip-cache: true
args: --verbose
Expand Down
8 changes: 4 additions & 4 deletions go/smoke-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ runs:
shell: bash
- name: Run DataDog Synthetics
if: inputs.DD_SYNTHETIC_IDS != ''
uses: DataDog/synthetics-ci-github-action@v1.17.0
uses: DataDog/synthetics-ci-github-action@v4.0.0
with:
api_key: ${{ inputs.DD_API_KEY }}
app_key: ${{ inputs.DD_APP_KEY }}
public_ids: ${{ inputs.DD_SYNTHETIC_IDS }}
api-key: ${{ inputs.DD_API_KEY }}
app-key: ${{ inputs.DD_APP_KEY }}
public-ids: ${{ inputs.DD_SYNTHETIC_IDS }}
- name: Write smoke test summary
if: always()
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions go/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ runs:
echo "> **Warning:** No test report found" >> $GITHUB_STEP_SUMMARY
fi
- name: Uploading test report
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: "${{ github.sha }}-test-report.out"
path: "./test-report.out"
retention-days: ${{ inputs.ARTIFACT_RETENTION_DAYS }}
- name: Uploading coverage report
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: "${{ github.sha }}-coverage.out"
path: "./coverage.out"
Expand Down
2 changes: 1 addition & 1 deletion ruby/deps/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ runs:
steps:
- name: Bundle cache
id: bundle-cache
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: vendor/bundle
key: rails-${{ hashFiles('Gemfile.lock') }}
Expand Down
2 changes: 1 addition & 1 deletion ruby/lint/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ runs:
env:
BUNDLE_DEPLOYMENT: true
- name: 'Upload rubocop results'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: "${{ github.sha }}-lint-results.out"
path: ./rubocop/rubocop.json
Expand Down
2 changes: 1 addition & 1 deletion ruby/one-for-all/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ runs:
using: "composite"
steps:
- name: Download test result
uses: actions/download-artifact@v4
uses: actions/download-artifact@v7
with:
name: ${{ github.sha }}-test-report.out
path: ./result/
Expand Down
4 changes: 2 additions & 2 deletions ruby/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ runs:
run: |
sed -i 's@${{ env.ROOT_PATH }}''@/github/workspace/@g' coverage.json
- name: 'Upload coverage'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: ${{ github.sha }}-coverage.out
path: ./coverage/coverage.json
retention-days: ${{ inputs.ARTIFACT_RETENTION_DAYS }}
- name: 'Upload test results'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: ${{ github.sha }}-test-report.out
path: ./result/rspec.xml
Expand Down
Loading