diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml deleted file mode 100644 index 827472a..0000000 --- a/.github/workflows/go.yml +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2019 Communication Service/Software Laboratory, National Chiao Tung University (free5gc.org) -# -# SPDX-License-Identifier: Apache-2.0 - -name: Go - -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - -jobs: - - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - - name: Set up Go - uses: actions/setup-go@v2 - with: - go-version: '1.14.4' - - - name: Build - run: go build -v ./... - - - name: Test - run: go test -v ./... diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..7b5a18f --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,56 @@ +# Copyright 2019 Communication Service/Software Laboratory, National Chiao Tung University (free5gc.org) +# +# SPDX-License-Identifier: Apache-2.0 + +name: Main workflow + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-go@v5 + with: + go-version-file: 'go.mod' + + - name: Build + run: go build ./... + + unit-tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-go@v5 + with: + go-version-file: 'go.mod' + + - name: Unit tests + run: go test ./... + + license-check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: reuse lint + uses: fsfe/reuse-action@v2 + + fossa-check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: FOSSA scan + uses: fossa-contrib/fossa-action@v3 + with: + fossa-api-key: 9dc8fa92e3dd565687317beb87b56d89 diff --git a/Namf_Communication/.openapi-generator/VERSION b/Namf_Communication/.openapi-generator/VERSION deleted file mode 100644 index afa6365..0000000 --- a/Namf_Communication/.openapi-generator/VERSION +++ /dev/null @@ -1 +0,0 @@ -4.0.0-SNAPSHOT \ No newline at end of file