diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 29f29be..98ddf55 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,7 +4,7 @@ on: push: # Sequence of patterns matched against refs/heads branches: - - "master" + - 'master' jobs: build: @@ -17,14 +17,14 @@ jobs: needs: build steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 persist-credentials: false - name: Setup NodeJS ${{ vars.RTLDEV_MW_CI_NODE_VERSION }} uses: actions/setup-node@v3 with: - node-version: ${{ vars.RTLDEV_MW_CI_NODE_VERSION }} + node-version: '${{ vars.RTLDEV_MW_CI_NODE_VERSION }}' check-latest: true - name: Install dependencies run: npm ci diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 49a982c..09a91b8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,16 +21,16 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 persist-credentials: false - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v4 with: - go-version: ${{ vars.RTLDEV_MW_CI_GOLANG_VERSION }} + go-version: '${{ vars.RTLDEV_MW_CI_GOLANG_VERSION }}' check-latest: true - name: Super Linter Code Base - uses: github/super-linter/slim@v4 + uses: github/super-linter/slim@v5 env: FILTER_REGEX_INCLUDE: "/*|/scripts/*|updateVersion.sh|apiclient.go" DEFAULT_BRANCH: master @@ -46,20 +46,18 @@ jobs: test_matrix: strategy: matrix: - go-version: - - "1.20" - - ${{ vars.RTLDEV_MW_CI_GOLANG_VERSION }} + go-version: ${{ fromJson(vars.RTLDEV_MW_CI_GOLANG_MATRIX) }} runs-on: ubuntu-latest needs: test name: Test Matrix @ GO v${{ matrix.go-version }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 persist-credentials: false - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v4 with: go-version: ${{ matrix.go-version }} check-latest: true diff --git a/go.mod b/go.mod index b92df67..c0a4255 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v3 -go 1.15 +go 1.20