diff --git a/.github/workflows/cdac-master.yml b/.github/workflows/cdac-master.yml index bf2028da6..1dc241995 100644 --- a/.github/workflows/cdac-master.yml +++ b/.github/workflows/cdac-master.yml @@ -33,6 +33,18 @@ jobs: #- name: Build the PFCP Agent Docker image # run: DOCKER_TARGETS=pfcpiface make docker-build + build-ptf: + if: github.event_name == 'pull_request' && github.repository_owner == '5GC-DEV' + runs-on: ubuntu-latest + defaults: + run: + working-directory: ./ptf + steps: + - uses: actions/checkout@v4 + + - name: Build PTF image + run: make build + lint: name: lint runs-on: ubuntu-latest @@ -45,7 +57,7 @@ jobs: go-version-file: 'go.mod' - name: golangci-lint - uses: golangci/golangci-lint-action@v5.0.0 + uses: golangci/golangci-lint-action@v6.0.1 with: version: latest args: --out-format=colored-line-number -v --config ./.golangci.yml --timeout=10m @@ -75,7 +87,7 @@ jobs: - uses: actions/checkout@v4 - name: Check Spelling - uses: rojopolis/spellcheck-github-actions@0.36.0 + uses: rojopolis/spellcheck-github-actions@0.37.0 with: config_path: .spellcheck.yml task_name: Markdown @@ -182,7 +194,7 @@ jobs: with: go-version-file: 'go.mod' - - uses: docker/login-action@v3.1.0 + - uses: docker/login-action@v3.2.0 with: registry: ${{ env.REGISTRY }} username: ${{ secrets.DCKRUSER }} diff --git a/.github/workflows/cdac-release-push.yml b/.github/workflows/cdac-release-push.yml index 8b5160270..1afb09500 100644 --- a/.github/workflows/cdac-release-push.yml +++ b/.github/workflows/cdac-release-push.yml @@ -26,7 +26,7 @@ jobs: - run: echo GIT_SHA_SHORT=$(git rev-parse --short HEAD) >> $GITHUB_ENV - - uses: docker/login-action@v3 + - uses: docker/login-action@v3.2.0 with: registry: ${{ env.REGISTRY }} username: ${{ secrets.DCKRUSER }} diff --git a/.github/workflows/iosmcn-master.yml b/.github/workflows/iosmcn-master.yml index 3397dd3f5..1652a145a 100644 --- a/.github/workflows/iosmcn-master.yml +++ b/.github/workflows/iosmcn-master.yml @@ -32,6 +32,18 @@ jobs: #- name: Build the PFCP Agent Docker image # run: DOCKER_TARGETS=pfcpiface make docker-build + build-ptf: + if: github.event_name == 'pull_request' && github.repository_owner == 'ios-mcn-core' + runs-on: ubuntu-latest + defaults: + run: + working-directory: ./ptf + steps: + - uses: actions/checkout@v4 + + - name: Build PTF image + run: make build + lint: name: lint runs-on: ubuntu-latest @@ -44,10 +56,10 @@ jobs: go-version-file: 'go.mod' - name: golangci-lint - uses: golangci/golangci-lint-action@v5.0.0 + uses: golangci/golangci-lint-action@v6.0.1 with: version: latest - args: -v --config ./.golangci.yml --timeout=10m + args: --out-format=colored-line-number -v --config ./.golangci.yml --timeout=10m hadolint: name: hadolint @@ -74,7 +86,7 @@ jobs: - uses: actions/checkout@v4 - name: Check Spelling - uses: rojopolis/spellcheck-github-actions@0.36.0 + uses: rojopolis/spellcheck-github-actions@0.37.0 with: config_path: .spellcheck.yml task_name: Markdown @@ -181,7 +193,7 @@ jobs: with: go-version-file: 'go.mod' - - uses: docker/login-action@v3.1.0 + - uses: docker/login-action@v3.2.0 with: registry: ${{ env.REGISTRY }} username: ${{ secrets.GHCRUSER }} diff --git a/.github/workflows/iosmcn-release-push.yml b/.github/workflows/iosmcn-release-push.yml index fe421b1f5..44450d366 100644 --- a/.github/workflows/iosmcn-release-push.yml +++ b/.github/workflows/iosmcn-release-push.yml @@ -26,7 +26,7 @@ jobs: - run: echo GIT_SHA_SHORT=$(git rev-parse --short HEAD) >> $GITHUB_ENV - - uses: docker/login-action@v3 + - uses: docker/login-action@v3.2.0 with: registry: ${{ env.REGISTRY }} username: ${{ secrets.GHCRUSER }}